Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewPageEventArgs.cs / 1 / GridViewPageEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewPageEventArgs : CancelEventArgs { private int _newPageIndex; ///Provides data for /// the ////// event. /// public GridViewPageEventArgs(int newPageIndex) { this._newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public int NewPageIndex { get { return _newPageIndex; } set { if (value < 0) { throw new ArgumentOutOfRangeException("value"); } _newPageIndex = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //Gets the index of the first new page to be displayed in the ///. /// This property is read-only. // Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; using System.Security.Permissions; ////// [AspNetHostingPermission(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] [AspNetHostingPermission(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] public class GridViewPageEventArgs : CancelEventArgs { private int _newPageIndex; ///Provides data for /// the ////// event. /// public GridViewPageEventArgs(int newPageIndex) { this._newPageIndex = newPageIndex; } ///Initializes a new instance of the ///class. /// public int NewPageIndex { get { return _newPageIndex; } set { if (value < 0) { throw new ArgumentOutOfRangeException("value"); } _newPageIndex = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.Gets the index of the first new page to be displayed in the ///. /// This property is read-only.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NativeMethodsOther.cs
- RoleGroupCollection.cs
- RegexCompiler.cs
- MexBindingBindingCollectionElement.cs
- FontDialog.cs
- TypeConverterValueSerializer.cs
- HttpPostedFileBase.cs
- TextFormatter.cs
- AnimatedTypeHelpers.cs
- DES.cs
- ByteStream.cs
- GenericWebPart.cs
- _AutoWebProxyScriptEngine.cs
- ImageDrawing.cs
- MediaElementAutomationPeer.cs
- Model3DGroup.cs
- UnsupportedPolicyOptionsException.cs
- newinstructionaction.cs
- PageCache.cs
- DbTransaction.cs
- ToolBarDesigner.cs
- DataGridColumn.cs
- TemplateBindingExtension.cs
- XmlILIndex.cs
- EncodingTable.cs
- Stopwatch.cs
- EnumDataContract.cs
- SafeCryptHandles.cs
- RegistrationServices.cs
- PiiTraceSource.cs
- PermissionSetEnumerator.cs
- DocumentSequence.cs
- _ProxyChain.cs
- MultipartContentParser.cs
- EventMemberCodeDomSerializer.cs
- WebProxyScriptElement.cs
- ExpandedProjectionNode.cs
- ErrorTableItemStyle.cs
- CatalogZone.cs
- AsyncResult.cs
- FormClosedEvent.cs
- XmlSchemaAttributeGroupRef.cs
- NotImplementedException.cs
- GeometryCombineModeValidation.cs
- HttpCapabilitiesEvaluator.cs
- Panel.cs
- StyleHelper.cs
- InfoCardRequestException.cs
- WebScriptMetadataFormatter.cs
- ColumnCollection.cs
- NeedSkipTokenVisitor.cs
- AssemblyBuilder.cs
- HtmlSelectionListAdapter.cs
- ProtocolsSection.cs
- WindowsAuthenticationEventArgs.cs
- NameScopePropertyAttribute.cs
- ContentElementAutomationPeer.cs
- ApplyImportsAction.cs
- RangeEnumerable.cs
- RemoveStoryboard.cs
- IsolatedStorageSecurityState.cs
- DbConvert.cs
- AuthorizationRuleCollection.cs
- DataGrid.cs
- ProtocolElement.cs
- IsolatedStorageFilePermission.cs
- VirtualPath.cs
- AssociationSetEnd.cs
- TableLayoutSettings.cs
- MergeFailedEvent.cs
- ExtenderProvidedPropertyAttribute.cs
- FindSimilarActivitiesVerb.cs
- ISO2022Encoding.cs
- _AutoWebProxyScriptWrapper.cs
- DetailsViewPageEventArgs.cs
- CompileLiteralTextParser.cs
- WeakReference.cs
- CacheMode.cs
- DashStyle.cs
- DesignBindingValueUIHandler.cs
- UIElement.cs
- ExtensionWindow.cs
- FontNamesConverter.cs
- SiteOfOriginContainer.cs
- RemotingServices.cs
- IPCCacheManager.cs
- SettingsSavedEventArgs.cs
- Run.cs
- InkSerializer.cs
- ClientConvert.cs
- SHA512.cs
- ClientSettingsStore.cs
- CodeTypeReferenceCollection.cs
- TabItem.cs
- XPathNodeIterator.cs
- EntitySetDataBindingList.cs
- serverconfig.cs
- FlowDocumentReader.cs
- MouseActionConverter.cs
- XmlSerializerVersionAttribute.cs