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
- _OverlappedAsyncResult.cs
- Listbox.cs
- Range.cs
- HwndMouseInputProvider.cs
- Rect3DConverter.cs
- StorageBasedPackageProperties.cs
- BehaviorEditorPart.cs
- GridViewCancelEditEventArgs.cs
- SqlDataSourceSummaryPanel.cs
- TimeStampChecker.cs
- ForwardPositionQuery.cs
- AsmxEndpointPickerExtension.cs
- WindowsStatic.cs
- WebContext.cs
- StatusBar.cs
- ValidationRule.cs
- UserControlDesigner.cs
- SettingsBase.cs
- UnionCqlBlock.cs
- AssemblyInfo.cs
- XsdBuildProvider.cs
- TextServicesCompartment.cs
- TypographyProperties.cs
- RelationshipEnd.cs
- _StreamFramer.cs
- SafeNativeMethods.cs
- DataControlFieldCell.cs
- Soap12ProtocolReflector.cs
- EdmRelationshipRoleAttribute.cs
- XmlReflectionMember.cs
- CustomGrammar.cs
- GacUtil.cs
- RSAOAEPKeyExchangeFormatter.cs
- ResourceExpressionBuilder.cs
- TypeElement.cs
- ScrollPattern.cs
- TableAdapterManagerGenerator.cs
- TrackingStringDictionary.cs
- Debugger.cs
- METAHEADER.cs
- CodeVariableDeclarationStatement.cs
- ByteRangeDownloader.cs
- RenderDataDrawingContext.cs
- LinqDataSourceUpdateEventArgs.cs
- webbrowsersite.cs
- Socket.cs
- X500Name.cs
- DependencyProperty.cs
- SecurityTokenSerializer.cs
- DifferencingCollection.cs
- DWriteFactory.cs
- ResourceAssociationSet.cs
- LogicalExpr.cs
- SystemIPGlobalStatistics.cs
- SqlDataSourceCommandParser.cs
- ValidatingPropertiesEventArgs.cs
- ObjectNotFoundException.cs
- SchemaTypeEmitter.cs
- LinearGradientBrush.cs
- X509Certificate2Collection.cs
- Timer.cs
- SamlAttributeStatement.cs
- TraceHandlerErrorFormatter.cs
- SourceFileBuildProvider.cs
- TextSpanModifier.cs
- ContainerFilterService.cs
- DataBindEngine.cs
- CodeAssignStatement.cs
- AuthorizationRuleCollection.cs
- HtmlEncodedRawTextWriter.cs
- LingerOption.cs
- BindToObject.cs
- Size3DConverter.cs
- SharedConnectionWorkflowTransactionService.cs
- HttpListenerContext.cs
- HtmlToClrEventProxy.cs
- DelegateSerializationHolder.cs
- ClassHandlersStore.cs
- GroupAggregateExpr.cs
- SQLRoleProvider.cs
- FormViewPageEventArgs.cs
- SmiRecordBuffer.cs
- CreateInstanceBinder.cs
- UITypeEditor.cs
- XmlCodeExporter.cs
- VBIdentifierTrimConverter.cs
- DesignerTransaction.cs
- SafeNativeMethodsCLR.cs
- AutomationPropertyInfo.cs
- HtmlInputPassword.cs
- TextEditorTyping.cs
- BuildManagerHost.cs
- MethodToken.cs
- FormatVersion.cs
- HtmlEncodedRawTextWriter.cs
- TileBrush.cs
- TextTrailingCharacterEllipsis.cs
- PopupEventArgs.cs
- SQLInt32Storage.cs
- X509ChainElement.cs