Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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. //------------------------------------------------------------------------------ //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.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
- UnmanagedMarshal.cs
- OpenFileDialog.cs
- DeclarativeCatalogPartDesigner.cs
- OperationPickerDialog.designer.cs
- DataColumnMapping.cs
- AttributeProviderAttribute.cs
- BufferBuilder.cs
- WindowsRichEditRange.cs
- BrowserDefinitionCollection.cs
- Maps.cs
- AbstractSvcMapFileLoader.cs
- GraphicsPath.cs
- MsmqHostedTransportConfiguration.cs
- Int16Animation.cs
- ArraySortHelper.cs
- BaseDataBoundControl.cs
- PrimarySelectionGlyph.cs
- TextComposition.cs
- OleDbPermission.cs
- DrawTreeNodeEventArgs.cs
- InteropEnvironment.cs
- ping.cs
- WebPartCloseVerb.cs
- Compilation.cs
- ResourceSet.cs
- UriParserTemplates.cs
- GAC.cs
- OrderedDictionary.cs
- initElementDictionary.cs
- StylusOverProperty.cs
- HttpHeaderCollection.cs
- Internal.cs
- metadatamappinghashervisitor.cs
- NativeRightsManagementAPIsStructures.cs
- TextDecorationCollectionConverter.cs
- UnwrappedTypesXmlSerializerManager.cs
- DirectionalLight.cs
- EventLogInternal.cs
- SwitchAttribute.cs
- ExpandoObject.cs
- NativeActivityAbortContext.cs
- TextContainerChangeEventArgs.cs
- WebSysDescriptionAttribute.cs
- TraceFilter.cs
- DependencyObject.cs
- _Connection.cs
- ErrorRuntimeConfig.cs
- TriggerActionCollection.cs
- ProxyWebPart.cs
- ForceCopyBuildProvider.cs
- RijndaelManaged.cs
- IntegerValidator.cs
- ConstructorBuilder.cs
- ComponentCommands.cs
- DataControlButton.cs
- ApplicationServiceHelper.cs
- PointConverter.cs
- CharUnicodeInfo.cs
- _SslSessionsCache.cs
- CollectionEditVerbManager.cs
- DataMemberAttribute.cs
- EventRouteFactory.cs
- TextEditor.cs
- GlyphCollection.cs
- PersistNameAttribute.cs
- DecimalMinMaxAggregationOperator.cs
- Menu.cs
- EmptyControlCollection.cs
- MatrixAnimationBase.cs
- TransportationConfigurationTypeInstallComponent.cs
- ClientSettingsProvider.cs
- IdentifierCollection.cs
- CodeEntryPointMethod.cs
- FileResponseElement.cs
- AnnotationHelper.cs
- DataMisalignedException.cs
- System.Data_BID.cs
- ProviderIncompatibleException.cs
- SchemaAttDef.cs
- ProcessHostFactoryHelper.cs
- IdnMapping.cs
- GridItemPatternIdentifiers.cs
- HandlerMappingMemo.cs
- ConfigViewGenerator.cs
- CapabilitiesState.cs
- HttpHeaderCollection.cs
- Int16AnimationUsingKeyFrames.cs
- WebZone.cs
- TagPrefixInfo.cs
- InfoCardRSAPKCS1KeyExchangeFormatter.cs
- EntityDataReader.cs
- DocumentViewerBaseAutomationPeer.cs
- DataSourceSelectArguments.cs
- HtmlInputReset.cs
- MetafileHeaderEmf.cs
- ResourcesChangeInfo.cs
- WsiProfilesElementCollection.cs
- Double.cs
- CacheVirtualItemsEvent.cs
- ContextMenuStrip.cs