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
- Stacktrace.cs
- Constant.cs
- DataRelationCollection.cs
- TextDecorationCollectionConverter.cs
- TranslateTransform3D.cs
- PerformanceCounterManager.cs
- ListViewEditEventArgs.cs
- XmlSchemaGroup.cs
- SafeBitVector32.cs
- SubtreeProcessor.cs
- CapiNative.cs
- TextBoxLine.cs
- InputEventArgs.cs
- BackgroundFormatInfo.cs
- WorkerRequest.cs
- ElementsClipboardData.cs
- CalendarDay.cs
- NgenServicingAttributes.cs
- Pipe.cs
- UIElementAutomationPeer.cs
- ParserStreamGeometryContext.cs
- Maps.cs
- GCHandleCookieTable.cs
- HtmlEncodedRawTextWriter.cs
- MULTI_QI.cs
- LeaseManager.cs
- XmlNodeChangedEventArgs.cs
- StorageRoot.cs
- EventlogProvider.cs
- _ContextAwareResult.cs
- DesignerSerializationVisibilityAttribute.cs
- MemoryPressure.cs
- InkCollectionBehavior.cs
- ElementProxy.cs
- ColumnHeader.cs
- ToolboxCategory.cs
- GeneratedContractType.cs
- XmlNamedNodeMap.cs
- ClassDataContract.cs
- StructuredTypeEmitter.cs
- SmtpNetworkElement.cs
- ServiceConfigurationTraceRecord.cs
- FormViewModeEventArgs.cs
- ResumeStoryboard.cs
- JsonCollectionDataContract.cs
- RNGCryptoServiceProvider.cs
- XmlSchemaInfo.cs
- MULTI_QI.cs
- RedirectionProxy.cs
- MasterPage.cs
- SimplePropertyEntry.cs
- Misc.cs
- FindCriteriaCD1.cs
- MimeParameter.cs
- Stack.cs
- ApplicationServiceHelper.cs
- EventLogPermissionEntryCollection.cs
- SchemaAttDef.cs
- TreeBuilder.cs
- SqlDependency.cs
- LockedBorderGlyph.cs
- PropertiesTab.cs
- RangeValueProviderWrapper.cs
- ProtocolViolationException.cs
- MobileContainerDesigner.cs
- WinInet.cs
- BindingExpression.cs
- DynamicQueryableWrapper.cs
- PermissionAttributes.cs
- SourceLineInfo.cs
- SortExpressionBuilder.cs
- StrokeNodeOperations2.cs
- behaviorssection.cs
- InheritablePropertyChangeInfo.cs
- AudioBase.cs
- GlobalizationSection.cs
- PackageRelationshipSelector.cs
- ColorAnimationBase.cs
- XPathDocumentBuilder.cs
- FrameworkElement.cs
- ExpressionBindingsDialog.cs
- TextEditorCharacters.cs
- ComplexTypeEmitter.cs
- StandardOleMarshalObject.cs
- WindowsFont.cs
- TableAdapterManagerNameHandler.cs
- Base64Decoder.cs
- ApplicationDirectory.cs
- TextUtf8RawTextWriter.cs
- PngBitmapDecoder.cs
- _Rfc2616CacheValidators.cs
- Keyboard.cs
- QueryContinueDragEvent.cs
- WebConfigurationHost.cs
- SqlProviderServices.cs
- Ray3DHitTestResult.cs
- XmlDownloadManager.cs
- AnchoredBlock.cs
- Win32SafeHandles.cs
- ClientTarget.cs