Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- CodeExpressionStatement.cs
- PerformanceCounterPermission.cs
- RowToParametersTransformer.cs
- FixUp.cs
- userdatakeys.cs
- ResourceCategoryAttribute.cs
- localization.cs
- diagnosticsswitches.cs
- UnitySerializationHolder.cs
- WindowsTooltip.cs
- Misc.cs
- EntityChangedParams.cs
- VirtualPathUtility.cs
- Pair.cs
- Zone.cs
- MasterPageParser.cs
- ToolStripDropDownDesigner.cs
- FontWeights.cs
- ClientConfigurationSystem.cs
- OdbcEnvironmentHandle.cs
- PolicyUtility.cs
- TransformerTypeCollection.cs
- ThrowHelper.cs
- LongTypeConverter.cs
- CanonicalizationDriver.cs
- Pen.cs
- DataServiceHost.cs
- RuleSetReference.cs
- TreeNode.cs
- ObjectKeyFrameCollection.cs
- ApplicationFileCodeDomTreeGenerator.cs
- Dynamic.cs
- MobileControl.cs
- StrokeIntersection.cs
- XpsFilter.cs
- EmbeddedMailObject.cs
- BoundColumn.cs
- HtmlToClrEventProxy.cs
- HyperLink.cs
- NameValueSectionHandler.cs
- OleDbTransaction.cs
- LogAppendAsyncResult.cs
- DatatypeImplementation.cs
- SchemaImporterExtensionElement.cs
- MultilineStringConverter.cs
- TextContainerChangedEventArgs.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- SystemWebSectionGroup.cs
- ContextMenuStrip.cs
- Pair.cs
- MultiDataTrigger.cs
- EmbeddedMailObjectsCollection.cs
- ClientUtils.cs
- Localizer.cs
- GradientStop.cs
- AspNetSynchronizationContext.cs
- TypeHelper.cs
- Stylesheet.cs
- ELinqQueryState.cs
- LinqDataSourceUpdateEventArgs.cs
- SqlDataSourceSummaryPanel.cs
- MD5Cng.cs
- EntityCommandCompilationException.cs
- OutputWindow.cs
- WizardForm.cs
- TextParagraph.cs
- Rotation3DAnimationBase.cs
- CheckPair.cs
- RelationshipConverter.cs
- ResourceExpressionBuilder.cs
- WebPartManager.cs
- HttpDictionary.cs
- HTTP_SERVICE_CONFIG_URLACL_KEY.cs
- DesignTimeData.cs
- itemelement.cs
- _Semaphore.cs
- InternalResources.cs
- XPathDescendantIterator.cs
- WSHttpBindingBase.cs
- LambdaCompiler.Generated.cs
- Composition.cs
- KeyToListMap.cs
- SafeMemoryMappedViewHandle.cs
- DispatchChannelSink.cs
- XmlName.cs
- ProfileInfo.cs
- _emptywebproxy.cs
- GraphicsContainer.cs
- SiteMapNode.cs
- DataGridViewRowPrePaintEventArgs.cs
- CodeArrayCreateExpression.cs
- KeyValueConfigurationCollection.cs
- TypefaceCollection.cs
- CompatibleComparer.cs
- SystemResources.cs
- RSAOAEPKeyExchangeDeformatter.cs
- FamilyCollection.cs
- Internal.cs
- BigInt.cs
- CursorInteropHelper.cs