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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- RelationshipConverter.cs
- StringExpressionSet.cs
- WindowsFormsSynchronizationContext.cs
- DbInsertCommandTree.cs
- InputBinding.cs
- followingquery.cs
- XmlUtil.cs
- NavigatingCancelEventArgs.cs
- SelectionRangeConverter.cs
- SqlServices.cs
- WebControlsSection.cs
- PrinterUnitConvert.cs
- ProfileManager.cs
- DESCryptoServiceProvider.cs
- MergeLocalizationDirectives.cs
- HtmlTableCell.cs
- ChangeProcessor.cs
- TreeView.cs
- SocketInformation.cs
- ToolStripPanelSelectionBehavior.cs
- MsmqInputMessagePool.cs
- WindowCollection.cs
- ArgumentOutOfRangeException.cs
- WebServiceClientProxyGenerator.cs
- FormsAuthentication.cs
- DelegateTypeInfo.cs
- IncrementalCompileAnalyzer.cs
- BufferedReadStream.cs
- LinearKeyFrames.cs
- ConfigurationManagerInternal.cs
- EnumMember.cs
- MergePropertyDescriptor.cs
- HttpHandlerActionCollection.cs
- CounterSetInstance.cs
- PackageStore.cs
- WebReferencesBuildProvider.cs
- NegationPusher.cs
- ModuleBuilder.cs
- XPathNode.cs
- CompilerGlobalScopeAttribute.cs
- JsonEncodingStreamWrapper.cs
- ToolboxCategory.cs
- PropertyPath.cs
- XmlQualifiedNameTest.cs
- StringAnimationUsingKeyFrames.cs
- FileSystemInfo.cs
- TraversalRequest.cs
- TextEndOfParagraph.cs
- SchemaNames.cs
- AppSettingsSection.cs
- _HeaderInfoTable.cs
- ResourceAttributes.cs
- HashSetEqualityComparer.cs
- DialogResultConverter.cs
- DbDataReader.cs
- X509ServiceCertificateAuthentication.cs
- SamlAssertionKeyIdentifierClause.cs
- UDPClient.cs
- MetadataItemEmitter.cs
- PrincipalPermission.cs
- PageStatePersister.cs
- InstanceDataCollectionCollection.cs
- DbCommandTree.cs
- ProviderIncompatibleException.cs
- ForEachAction.cs
- UserControlCodeDomTreeGenerator.cs
- SmiEventSink_DeferedProcessing.cs
- XPathDocumentBuilder.cs
- SingleKeyFrameCollection.cs
- XmlDocumentViewSchema.cs
- ResourcesGenerator.cs
- XmlSchemaIdentityConstraint.cs
- LeaseManager.cs
- WebPartEditorApplyVerb.cs
- StreamReader.cs
- DatatypeImplementation.cs
- counter.cs
- ConfigXmlCDataSection.cs
- Rect.cs
- AdapterDictionary.cs
- ClientConfigPaths.cs
- HttpRuntimeSection.cs
- SourceFilter.cs
- AssociationTypeEmitter.cs
- AttributeEmitter.cs
- DataServiceExpressionVisitor.cs
- DateBoldEvent.cs
- HtmlUtf8RawTextWriter.cs
- XmlSchemaCompilationSettings.cs
- BaseProcessor.cs
- SqlMethods.cs
- AffineTransform3D.cs
- DynamicPropertyHolder.cs
- CalendarButton.cs
- FamilyTypeface.cs
- SectionInformation.cs
- ZipArchive.cs
- WebPartUserCapability.cs
- BulletedListEventArgs.cs
- ScaleTransform3D.cs