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
- XmlEncoding.cs
- OdbcPermission.cs
- SQLInt64Storage.cs
- AttributedMetaModel.cs
- Context.cs
- ColumnCollection.cs
- XmlCodeExporter.cs
- Variable.cs
- PartBasedPackageProperties.cs
- RightsManagementPermission.cs
- VBIdentifierName.cs
- FontUnitConverter.cs
- BinHexEncoder.cs
- RecordManager.cs
- OrderedDictionaryStateHelper.cs
- ToolStripContentPanel.cs
- COM2ColorConverter.cs
- ReversePositionQuery.cs
- ToolStripRenderEventArgs.cs
- ModelUIElement3D.cs
- DateTimeParse.cs
- Membership.cs
- GeometryGroup.cs
- UnsupportedPolicyOptionsException.cs
- HtmlTableCell.cs
- FixedFlowMap.cs
- CellIdBoolean.cs
- ProxyHwnd.cs
- Decorator.cs
- Viewport2DVisual3D.cs
- XmlDownloadManager.cs
- ClosableStream.cs
- DATA_BLOB.cs
- DispatcherExceptionEventArgs.cs
- GridViewItemAutomationPeer.cs
- WebEncodingValidator.cs
- TargetFrameworkUtil.cs
- FloaterParagraph.cs
- HyperLinkField.cs
- SequentialUshortCollection.cs
- HealthMonitoringSection.cs
- Drawing.cs
- COMException.cs
- DataGridHelper.cs
- XmlnsCompatibleWithAttribute.cs
- DbgUtil.cs
- Pair.cs
- NonParentingControl.cs
- XPathException.cs
- TypeListConverter.cs
- SQLDateTime.cs
- JsonDeserializer.cs
- Misc.cs
- ResourceCategoryAttribute.cs
- XmlQueryOutput.cs
- GPPOINTF.cs
- TextEditorParagraphs.cs
- CodePrimitiveExpression.cs
- DateTimeSerializationSection.cs
- InvalidProgramException.cs
- OleDbDataAdapter.cs
- SizeIndependentAnimationStorage.cs
- CodeCastExpression.cs
- UrlAuthFailedErrorFormatter.cs
- DataBindingExpressionBuilder.cs
- ObjectPersistData.cs
- ListBoxItemWrapperAutomationPeer.cs
- FileUpload.cs
- HashCryptoHandle.cs
- HttpClientChannel.cs
- _IPv6Address.cs
- PointCollection.cs
- SqlRecordBuffer.cs
- PrintController.cs
- LogicalMethodInfo.cs
- util.cs
- ConcurrencyMode.cs
- TileModeValidation.cs
- PathFigureCollection.cs
- SchemaDeclBase.cs
- HandlerBase.cs
- MatrixTransform3D.cs
- ReadWriteObjectLock.cs
- TextFormatterHost.cs
- EventItfInfo.cs
- SchemaLookupTable.cs
- IndicShape.cs
- SubpageParagraph.cs
- StickyNoteAnnotations.cs
- Formatter.cs
- CompositeFontFamily.cs
- AccessViolationException.cs
- XamlInterfaces.cs
- TokenBasedSetEnumerator.cs
- OpacityConverter.cs
- ImportContext.cs
- EventHandlingScope.cs
- PageCodeDomTreeGenerator.cs
- SoapBinding.cs
- TimeEnumHelper.cs