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
- ClientConfigPaths.cs
- CaseInsensitiveComparer.cs
- ClientTarget.cs
- HttpValueCollection.cs
- MemoryMappedFile.cs
- SingleConverter.cs
- AssemblyResolver.cs
- PlainXmlDeserializer.cs
- XmlSignatureManifest.cs
- ValidationService.cs
- ValidationErrorCollection.cs
- SamlNameIdentifierClaimResource.cs
- SerializationException.cs
- DrawListViewItemEventArgs.cs
- StatusBarItem.cs
- InputProcessorProfilesLoader.cs
- GlyphsSerializer.cs
- SqlXmlStorage.cs
- Walker.cs
- CodeSnippetExpression.cs
- EmptyEnumerator.cs
- CodeDelegateInvokeExpression.cs
- CodeAssignStatement.cs
- XamlFrame.cs
- CodeTypeOfExpression.cs
- Win32KeyboardDevice.cs
- XmlSchemaType.cs
- login.cs
- WindowsEditBoxRange.cs
- OracleCommandSet.cs
- ServiceOperationParameter.cs
- ButtonPopupAdapter.cs
- ManagementObject.cs
- WindowsUserNameSecurityTokenAuthenticator.cs
- ParameterBinding.cs
- RuleSet.cs
- MediaSystem.cs
- TextPointerBase.cs
- EditCommandColumn.cs
- HMACMD5.cs
- SchemaImporterExtensionElementCollection.cs
- InternalPolicyElement.cs
- ReceiveDesigner.xaml.cs
- SetUserLanguageRequest.cs
- FormParameter.cs
- TextBox.cs
- SimpleRecyclingCache.cs
- OdbcCommandBuilder.cs
- CodeDomConfigurationHandler.cs
- StreamSecurityUpgradeAcceptor.cs
- TdsParser.cs
- AddInPipelineAttributes.cs
- XmlAttributeCollection.cs
- MSHTMLHostUtil.cs
- StrokeSerializer.cs
- InfoCardCryptoHelper.cs
- SqlConnectionPoolGroupProviderInfo.cs
- Vector3DCollectionConverter.cs
- ByeOperation11AsyncResult.cs
- Visitor.cs
- ExpandSegmentCollection.cs
- ISAPIApplicationHost.cs
- WebPartAddingEventArgs.cs
- DbQueryCommandTree.cs
- PatternMatcher.cs
- Menu.cs
- DomNameTable.cs
- DynamicMethod.cs
- Menu.cs
- ErrorRuntimeConfig.cs
- DataGrid.cs
- ProcessingInstructionAction.cs
- Context.cs
- WindowsUpDown.cs
- RuntimeHelpers.cs
- IndexOutOfRangeException.cs
- ToolboxItemImageConverter.cs
- ObjectManager.cs
- ResourcesChangeInfo.cs
- SourceSwitch.cs
- HyperlinkAutomationPeer.cs
- ObjectConverter.cs
- ListViewSortEventArgs.cs
- HttpHandlerActionCollection.cs
- FormatConvertedBitmap.cs
- PropertyValue.cs
- TextCharacters.cs
- CodeGenerator.cs
- HyperLinkField.cs
- NamedPipeProcessProtocolHandler.cs
- OracleString.cs
- GridViewColumnCollectionChangedEventArgs.cs
- MultiView.cs
- BulletedListEventArgs.cs
- LoadRetryHandler.cs
- WsdlBuildProvider.cs
- AttachedProperty.cs
- Permission.cs
- PropertyChangeTracker.cs
- KeyValuePairs.cs