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
- DictionaryChange.cs
- ServiceChannelManager.cs
- NavigationEventArgs.cs
- EntityContainer.cs
- DBConnection.cs
- ProxyWebPartManager.cs
- EtwTrackingParticipant.cs
- XmlAttributeCollection.cs
- InfoCardKeyedHashAlgorithm.cs
- SizeFConverter.cs
- BasicKeyConstraint.cs
- SamlAssertionDirectKeyIdentifierClause.cs
- XmlEncoding.cs
- VsPropertyGrid.cs
- Events.cs
- WebPartTransformerAttribute.cs
- HttpModulesSection.cs
- BindingExpressionUncommonField.cs
- DesignerFrame.cs
- ListViewTableCell.cs
- Stream.cs
- XmlAnyElementAttributes.cs
- UpdateTracker.cs
- DataGridParentRows.cs
- MethodInfo.cs
- SymbolDocumentInfo.cs
- Geometry3D.cs
- DLinqTableProvider.cs
- VerticalAlignConverter.cs
- ProfilePropertyMetadata.cs
- PointCollectionValueSerializer.cs
- InkCanvasSelection.cs
- RadioButtonAutomationPeer.cs
- CriticalHandle.cs
- LocalizationComments.cs
- Environment.cs
- ApplicationId.cs
- SpecularMaterial.cs
- DropShadowEffect.cs
- DataGridViewControlCollection.cs
- XmlPropertyBag.cs
- FontDriver.cs
- ContainerUtilities.cs
- HttpProfileBase.cs
- SQLSingleStorage.cs
- RegularExpressionValidator.cs
- TimerEventSubscription.cs
- FixedBufferAttribute.cs
- GridViewPageEventArgs.cs
- CodeAccessSecurityEngine.cs
- LogEntryHeaderv1Deserializer.cs
- HostingEnvironmentSection.cs
- CacheChildrenQuery.cs
- Invariant.cs
- BindingExpressionUncommonField.cs
- ValueUtilsSmi.cs
- SqlNodeTypeOperators.cs
- validation.cs
- IisTraceListener.cs
- ExternalFile.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SafeEventLogReadHandle.cs
- XmlSerializationWriter.cs
- HTMLTextWriter.cs
- Control.cs
- SecurityManager.cs
- OuterGlowBitmapEffect.cs
- FieldBuilder.cs
- ExclusiveTcpListener.cs
- ExtendedProperty.cs
- DefaultSerializationProviderAttribute.cs
- NativeMethodsOther.cs
- RemotingConfigParser.cs
- ScaleTransform.cs
- ScrollBar.cs
- SByteConverter.cs
- ContentType.cs
- FontSourceCollection.cs
- LineServices.cs
- Command.cs
- IdSpace.cs
- SQLDouble.cs
- RoleServiceManager.cs
- DataGridViewAutoSizeColumnModeEventArgs.cs
- SchemaCollectionPreprocessor.cs
- FullTrustAssembly.cs
- SerializerProvider.cs
- HyperLinkColumn.cs
- Comparer.cs
- SelectionPatternIdentifiers.cs
- Int64AnimationUsingKeyFrames.cs
- XmlSchemaAnnotated.cs
- DataRow.cs
- OperationAbortedException.cs
- OLEDB_Util.cs
- ScriptingWebServicesSectionGroup.cs
- FormsAuthenticationTicket.cs
- SelectedCellsChangedEventArgs.cs
- HMACSHA512.cs
- EventLogWatcher.cs