Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PropertyKey.cs
- RegionIterator.cs
- Vector3DConverter.cs
- SqlMethods.cs
- DesignConnection.cs
- ValidatingCollection.cs
- BaseComponentEditor.cs
- CertificateManager.cs
- CryptoProvider.cs
- URL.cs
- DataObjectEventArgs.cs
- InternalReceiveMessage.cs
- TableCellCollection.cs
- UnsafeNativeMethods.cs
- DurableDispatcherAddressingFault.cs
- CodeTypeReference.cs
- SqlConnection.cs
- DataGridTableCollection.cs
- ParameterElementCollection.cs
- SelectionEditor.cs
- ChangeConflicts.cs
- CatalogZoneBase.cs
- ImageFormat.cs
- AdCreatedEventArgs.cs
- ValueOfAction.cs
- UTF7Encoding.cs
- TraceListeners.cs
- AmbientLight.cs
- TextBoxRenderer.cs
- RSATokenProvider.cs
- EarlyBoundInfo.cs
- WebPartDisplayModeCollection.cs
- CompositeFontInfo.cs
- UserControl.cs
- EncoderNLS.cs
- HttpUnhandledOperationInvoker.cs
- SignatureGenerator.cs
- TypeConverterHelper.cs
- WindowsAltTab.cs
- CaseStatement.cs
- UserControlFileEditor.cs
- FontConverter.cs
- QilStrConcat.cs
- ByteStorage.cs
- X509SecurityTokenParameters.cs
- MachinePropertyVariants.cs
- SchemaTypeEmitter.cs
- linebase.cs
- BinHexDecoder.cs
- XsltContext.cs
- Brushes.cs
- MarkedHighlightComponent.cs
- loginstatus.cs
- XamlParser.cs
- DataContractSerializerOperationBehavior.cs
- GetImportedCardRequest.cs
- PackageProperties.cs
- StyleXamlTreeBuilder.cs
- SharedPerformanceCounter.cs
- FilterException.cs
- TableMethodGenerator.cs
- ServiceNotStartedException.cs
- CorrelationTokenTypeConvertor.cs
- MenuEventArgs.cs
- XmlDataImplementation.cs
- TraceEventCache.cs
- SiteMapNodeCollection.cs
- TokenBasedSetEnumerator.cs
- CurrentTimeZone.cs
- CompositeDispatchFormatter.cs
- ExtensibleClassFactory.cs
- ItemCheckedEvent.cs
- DragEvent.cs
- CharEntityEncoderFallback.cs
- AudioBase.cs
- SoapObjectReader.cs
- ExternalException.cs
- TextClipboardData.cs
- TableSectionStyle.cs
- MessageOperationFormatter.cs
- TypedDataSetSchemaImporterExtension.cs
- IndentTextWriter.cs
- ActivityCodeGenerator.cs
- RepeatButtonAutomationPeer.cs
- XmlQueryOutput.cs
- CacheChildrenQuery.cs
- CellParagraph.cs
- InProcStateClientManager.cs
- HeaderPanel.cs
- IndexerNameAttribute.cs
- WebBaseEventKeyComparer.cs
- FramingDecoders.cs
- JumpList.cs
- InstanceDataCollection.cs
- EntityWithKeyStrategy.cs
- FixedSchema.cs
- WebPartTransformerCollection.cs
- DetailsView.cs
- FontNamesConverter.cs
- SmiRequestExecutor.cs