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
- WindowsFormsSynchronizationContext.cs
- DataRowExtensions.cs
- XmlNamespaceMapping.cs
- InvalidAsynchronousStateException.cs
- Condition.cs
- CopyAttributesAction.cs
- SecurityResources.cs
- UnsafeNativeMethods.cs
- MessageSmuggler.cs
- Math.cs
- AttributeCollection.cs
- TimeManager.cs
- ExpressionPrefixAttribute.cs
- ScriptReferenceBase.cs
- ContainerFilterService.cs
- XmlStringTable.cs
- WhitespaceReader.cs
- LinqDataSourceView.cs
- ImageIndexConverter.cs
- ResourceExpressionBuilder.cs
- ErrorFormatterPage.cs
- ErrorsHelper.cs
- RadialGradientBrush.cs
- HandlerBase.cs
- ResXResourceWriter.cs
- HostedNamedPipeTransportManager.cs
- ConnectionOrientedTransportElement.cs
- DoubleStorage.cs
- SmtpNtlmAuthenticationModule.cs
- DbProviderFactory.cs
- DataBinding.cs
- IndependentAnimationStorage.cs
- RegularExpressionValidator.cs
- MergeFilterQuery.cs
- BitStack.cs
- _UriSyntax.cs
- XmlChildNodes.cs
- CodeRemoveEventStatement.cs
- TransactionException.cs
- CompilerWrapper.cs
- basecomparevalidator.cs
- SectionVisual.cs
- DynamicDataRouteHandler.cs
- SettingsPropertyCollection.cs
- ItemDragEvent.cs
- LogWriteRestartAreaAsyncResult.cs
- CatalogUtil.cs
- OleServicesContext.cs
- DataGridCell.cs
- ProcessInputEventArgs.cs
- DrawingCollection.cs
- cookiecollection.cs
- HitTestParameters3D.cs
- FamilyMap.cs
- X509ChainElement.cs
- DispatcherHooks.cs
- LineInfo.cs
- FieldBuilder.cs
- GuidelineCollection.cs
- BitmapInitialize.cs
- FileSystemEventArgs.cs
- NumberSubstitution.cs
- SiteMapPath.cs
- TextTreeInsertUndoUnit.cs
- PermissionListSet.cs
- RegexCaptureCollection.cs
- BaseParagraph.cs
- ProjectedSlot.cs
- IPipelineRuntime.cs
- WriteTimeStream.cs
- SmiRecordBuffer.cs
- MarkupCompilePass2.cs
- ServiceReflector.cs
- AppSettingsSection.cs
- TextTreeObjectNode.cs
- EffectiveValueEntry.cs
- RuleSettingsCollection.cs
- NamedPermissionSet.cs
- Point4DConverter.cs
- CommandValueSerializer.cs
- DetailsView.cs
- TextModifierScope.cs
- CompilationSection.cs
- BinaryParser.cs
- IncrementalReadDecoders.cs
- WebBrowserNavigatingEventHandler.cs
- Label.cs
- _HTTPDateParse.cs
- XmlStreamStore.cs
- RadialGradientBrush.cs
- XmlQueryOutput.cs
- SrgsOneOf.cs
- WindowsGraphicsCacheManager.cs
- SqlBinder.cs
- ElementNotEnabledException.cs
- TrackBar.cs
- DataGridViewCellValueEventArgs.cs
- ZipIOLocalFileDataDescriptor.cs
- DocumentPaginator.cs
- cookiecollection.cs