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
- LinkedResourceCollection.cs
- XmlWriterTraceListener.cs
- URLIdentityPermission.cs
- Lease.cs
- ObjectQueryProvider.cs
- DecimalAverageAggregationOperator.cs
- InstanceNotFoundException.cs
- TextServicesProperty.cs
- PointCollectionConverter.cs
- TransactionContextManager.cs
- WebConfigurationFileMap.cs
- BooleanToSelectiveScrollingOrientationConverter.cs
- TreeIterators.cs
- DataTemplateKey.cs
- CodeCatchClauseCollection.cs
- AnimationTimeline.cs
- OracleFactory.cs
- odbcmetadatacollectionnames.cs
- MessageBox.cs
- ParameterBinding.cs
- FullTrustAssemblyCollection.cs
- LogicalExpr.cs
- DecodeHelper.cs
- CollectionViewGroup.cs
- PathSegmentCollection.cs
- AxHostDesigner.cs
- RotateTransform3D.cs
- BrowserCapabilitiesCodeGenerator.cs
- cookiecollection.cs
- DesignerView.xaml.cs
- Classification.cs
- Queue.cs
- ClientApiGenerator.cs
- SizeFConverter.cs
- ModifierKeysValueSerializer.cs
- RNGCryptoServiceProvider.cs
- BuildManagerHost.cs
- WsdlExporter.cs
- UnknownBitmapEncoder.cs
- Model3D.cs
- FactoryGenerator.cs
- SafeBitVector32.cs
- LogExtentCollection.cs
- xmlglyphRunInfo.cs
- DesignerCapabilities.cs
- BaseValidator.cs
- AsymmetricKeyExchangeDeformatter.cs
- PriorityBindingExpression.cs
- TextClipboardData.cs
- BitmapSourceSafeMILHandle.cs
- OleDbParameter.cs
- SHA512.cs
- DateTimeOffsetConverter.cs
- ShellProvider.cs
- BrowserTree.cs
- CollectionBase.cs
- cookiecollection.cs
- HistoryEventArgs.cs
- ComplusEndpointConfigContainer.cs
- RelationshipSet.cs
- ManipulationBoundaryFeedbackEventArgs.cs
- EntryWrittenEventArgs.cs
- WorkflowInstanceRecord.cs
- ErrorInfoXmlDocument.cs
- EntityCollection.cs
- SystemResources.cs
- DbConnectionClosed.cs
- AdornerHitTestResult.cs
- GestureRecognitionResult.cs
- ColorConvertedBitmapExtension.cs
- ResolveNextArgumentWorkItem.cs
- CriticalFinalizerObject.cs
- BlockCollection.cs
- OracleTransaction.cs
- AttributeProviderAttribute.cs
- CultureInfoConverter.cs
- ListItemConverter.cs
- DocobjHost.cs
- ExtentJoinTreeNode.cs
- Logging.cs
- ChannelServices.cs
- AnnotationResourceCollection.cs
- WmfPlaceableFileHeader.cs
- DiffuseMaterial.cs
- ForwardPositionQuery.cs
- MetaDataInfo.cs
- FormView.cs
- WsdlBuildProvider.cs
- WorkflowInstanceExtensionCollection.cs
- WorkflowCompensationBehavior.cs
- OutputCacheSettingsSection.cs
- HyperLinkStyle.cs
- EventLogTraceListener.cs
- MutexSecurity.cs
- XmlSchemaSet.cs
- DSACryptoServiceProvider.cs
- HyperLinkDesigner.cs
- WebPartDescription.cs
- UnsafeNativeMethods.cs
- MeshGeometry3D.cs