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
- WebPartConnectionsEventArgs.cs
- CssClassPropertyAttribute.cs
- METAHEADER.cs
- XmlEnumAttribute.cs
- FunctionImportElement.cs
- ControlBuilder.cs
- EntityParameter.cs
- Lasso.cs
- KeyManager.cs
- IBuiltInEvidence.cs
- Cell.cs
- HttpListenerResponse.cs
- SplitContainer.cs
- DateBoldEvent.cs
- TypeConverter.cs
- ResourceReader.cs
- ReadOnlyCollectionBase.cs
- FixedSOMTable.cs
- XmlSchemaProviderAttribute.cs
- SystemFonts.cs
- UrlPath.cs
- ListItemConverter.cs
- HostingEnvironment.cs
- ReachDocumentReferenceCollectionSerializer.cs
- Terminate.cs
- XPathNodeInfoAtom.cs
- Themes.cs
- HtmlHead.cs
- BindingValueChangedEventArgs.cs
- webeventbuffer.cs
- PagerSettings.cs
- DesignerSerializationOptionsAttribute.cs
- StringWriter.cs
- TextChange.cs
- XmlTypeAttribute.cs
- LineInfo.cs
- Point3D.cs
- ConversionContext.cs
- TextInfo.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- PropertyDescriptorGridEntry.cs
- CatalogZone.cs
- ExpressionBuilderContext.cs
- DataListCommandEventArgs.cs
- DateBoldEvent.cs
- MetadataPropertyAttribute.cs
- DeclarativeCatalogPartDesigner.cs
- ListSourceHelper.cs
- WebHttpSecurity.cs
- ProgressiveCrcCalculatingStream.cs
- LinearGradientBrush.cs
- PageParserFilter.cs
- DataAccessException.cs
- ExpressionPrefixAttribute.cs
- CodePropertyReferenceExpression.cs
- IIS7WorkerRequest.cs
- ScriptServiceAttribute.cs
- SqlStream.cs
- MouseButtonEventArgs.cs
- InputReport.cs
- LinearGradientBrush.cs
- Int32AnimationUsingKeyFrames.cs
- Polyline.cs
- XsltSettings.cs
- DesignerOptionService.cs
- EllipseGeometry.cs
- IEnumerable.cs
- DataGridSortCommandEventArgs.cs
- ContravarianceAdapter.cs
- AsyncStreamReader.cs
- SessionPageStateSection.cs
- LingerOption.cs
- SqlCacheDependencySection.cs
- InvalidWMPVersionException.cs
- LocalizedNameDescriptionPair.cs
- PropertySet.cs
- StrokeNode.cs
- XamlRtfConverter.cs
- ThousandthOfEmRealDoubles.cs
- OdbcConnectionStringbuilder.cs
- ServiceCredentialsElement.cs
- DictionaryMarkupSerializer.cs
- VScrollProperties.cs
- HttpHandlerActionCollection.cs
- TakeOrSkipQueryOperator.cs
- TextBox.cs
- WsdlInspector.cs
- TextFragmentEngine.cs
- WebPartZoneBaseDesigner.cs
- OleDbPermission.cs
- CommonXSendMessage.cs
- UpdateCommand.cs
- BitStack.cs
- NamespaceEmitter.cs
- StickyNote.cs
- MDIWindowDialog.cs
- QueryContext.cs
- GCHandleCookieTable.cs
- Popup.cs
- HttpRawResponse.cs