Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- EditorZone.cs
- AsyncOperation.cs
- HandledEventArgs.cs
- TreeBuilderXamlTranslator.cs
- unsafeIndexingFilterStream.cs
- OleDbConnection.cs
- CultureTableRecord.cs
- BamlVersionHeader.cs
- CodeObject.cs
- BlobPersonalizationState.cs
- EventItfInfo.cs
- XslTransform.cs
- SqlStatistics.cs
- CapabilitiesPattern.cs
- DecoratedNameAttribute.cs
- PageParser.cs
- BuildManagerHost.cs
- PatternMatcher.cs
- DateTimeOffset.cs
- AnnotationHighlightLayer.cs
- WebPageTraceListener.cs
- ObjectNavigationPropertyMapping.cs
- NaturalLanguageHyphenator.cs
- DbConnectionFactory.cs
- BamlBinaryWriter.cs
- MD5CryptoServiceProvider.cs
- DataGridViewLinkCell.cs
- GridViewColumn.cs
- XmlAttributeOverrides.cs
- Hyperlink.cs
- ConfigXmlElement.cs
- PropertyToken.cs
- HashHelper.cs
- RawContentTypeMapper.cs
- MultipleViewPattern.cs
- UserControlDocumentDesigner.cs
- XmlQueryCardinality.cs
- IPAddressCollection.cs
- ObjectDataSourceStatusEventArgs.cs
- ConditionalDesigner.cs
- XPathDescendantIterator.cs
- OleDbStruct.cs
- PowerEase.cs
- QueueProcessor.cs
- ButtonStandardAdapter.cs
- ExpressionCopier.cs
- ListViewItem.cs
- SqlUtil.cs
- TextLineResult.cs
- XmlDownloadManager.cs
- WebBrowser.cs
- PinnedBufferMemoryStream.cs
- CompilerResults.cs
- FixedSOMPage.cs
- AttachedAnnotationChangedEventArgs.cs
- DrawingContextDrawingContextWalker.cs
- URLString.cs
- AnnotationHelper.cs
- ImageDrawing.cs
- COM2ExtendedTypeConverter.cs
- XmlImplementation.cs
- KnownTypeHelper.cs
- IFormattable.cs
- SafeViewOfFileHandle.cs
- LambdaCompiler.Generated.cs
- HttpHandlersSection.cs
- DataGridItemCollection.cs
- IgnorePropertiesAttribute.cs
- CodeTypeMember.cs
- SqlBuilder.cs
- BigIntegerStorage.cs
- ReferentialConstraint.cs
- DataGridViewImageCell.cs
- SqlNode.cs
- SchemaSetCompiler.cs
- PrivilegeNotHeldException.cs
- DataServiceProviderMethods.cs
- DataFormat.cs
- PeekCompletedEventArgs.cs
- RightsDocument.cs
- Math.cs
- ProcessModule.cs
- ThreadStaticAttribute.cs
- OdbcConnection.cs
- OutgoingWebResponseContext.cs
- ComPlusTypeValidator.cs
- IIS7WorkerRequest.cs
- ProjectionCamera.cs
- mediaeventargs.cs
- SHA512CryptoServiceProvider.cs
- EncoderBestFitFallback.cs
- ToolTipService.cs
- Size3D.cs
- XhtmlTextWriter.cs
- IntSecurity.cs
- VariableAction.cs
- RotateTransform3D.cs
- adornercollection.cs
- Control.cs
- ColorBlend.cs