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
- MaterialGroup.cs
- MasterPageParser.cs
- StylusOverProperty.cs
- ProfileSection.cs
- SpAudioStreamWrapper.cs
- ConfigXmlText.cs
- CornerRadius.cs
- ExtensibleClassFactory.cs
- AutomationTextAttribute.cs
- DataControlField.cs
- DataSourceSelectArguments.cs
- COM2ColorConverter.cs
- SqlConnectionFactory.cs
- TreeNode.cs
- BaseComponentEditor.cs
- Action.cs
- PointAnimationClockResource.cs
- WinEventQueueItem.cs
- CodeSubDirectory.cs
- PropertyDescriptorCollection.cs
- PersonalizationStateInfoCollection.cs
- HtmlAnchor.cs
- SafeProcessHandle.cs
- RtfToken.cs
- Size3DValueSerializer.cs
- MulticastIPAddressInformationCollection.cs
- IgnoreFlushAndCloseStream.cs
- Documentation.cs
- MetadataCacheItem.cs
- ComplexObject.cs
- ControlCachePolicy.cs
- QilPatternFactory.cs
- StatusBar.cs
- PostBackOptions.cs
- BaseValidator.cs
- SpellerStatusTable.cs
- Rotation3DKeyFrameCollection.cs
- IconEditor.cs
- IteratorFilter.cs
- EnumType.cs
- TimeSpanSecondsConverter.cs
- CustomAttributeSerializer.cs
- DataDocumentXPathNavigator.cs
- RenderingEventArgs.cs
- SystemIPInterfaceStatistics.cs
- PrintDocument.cs
- ISCIIEncoding.cs
- BypassElementCollection.cs
- SecurityUtils.cs
- SoapEnumAttribute.cs
- TextRangeProviderWrapper.cs
- _KerberosClient.cs
- InvokeMethodDesigner.xaml.cs
- TemplatedControlDesigner.cs
- DynamicActivityXamlReader.cs
- Page.cs
- TextTrailingCharacterEllipsis.cs
- TypeValidationEventArgs.cs
- MemberNameValidator.cs
- SessionPageStatePersister.cs
- MouseEvent.cs
- ObjectListItemCollection.cs
- RectangleGeometry.cs
- TransactionScopeDesigner.cs
- CqlErrorHelper.cs
- RuleElement.cs
- StyleTypedPropertyAttribute.cs
- x509store.cs
- IndexerNameAttribute.cs
- NTAccount.cs
- CompiledQueryCacheKey.cs
- TextElementCollection.cs
- ScriptReference.cs
- DataPagerField.cs
- WebPartVerb.cs
- ScrollProperties.cs
- UdpRetransmissionSettings.cs
- ComplexTypeEmitter.cs
- CodeGotoStatement.cs
- DesignParameter.cs
- GridSplitter.cs
- dtdvalidator.cs
- Utilities.cs
- ImpersonationContext.cs
- Package.cs
- SBCSCodePageEncoding.cs
- ExpandedProjectionNode.cs
- MarkerProperties.cs
- KeyFrames.cs
- DesignerVerbCollection.cs
- UserControl.cs
- documentsequencetextcontainer.cs
- EntityContainerRelationshipSet.cs
- SingleTagSectionHandler.cs
- UnsafeNativeMethods.cs
- designeractionbehavior.cs
- ListControlStringCollectionEditor.cs
- SchemaNamespaceManager.cs
- SchemaNotation.cs
- DynamicResourceExtension.cs