Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / DEVDIV / depot / DevDiv / releases / whidbey / QFE / 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. // Copyright (c) Microsoft Corporation. All rights reserved. //------------------------------------------------------------------------------ //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. // Copyright (c) Microsoft Corporation. All rights reserved.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
- ObjectItemNoOpAssemblyLoader.cs
- XAMLParseException.cs
- ServiceBehaviorElementCollection.cs
- HTTPNotFoundHandler.cs
- TimeSpanHelper.cs
- ListSortDescription.cs
- XmlLinkedNode.cs
- SmiXetterAccessMap.cs
- BamlRecordWriter.cs
- CodeExpressionStatement.cs
- StringFunctions.cs
- BindingGraph.cs
- AppDomainEvidenceFactory.cs
- MenuAdapter.cs
- OracleMonthSpan.cs
- ContentPlaceHolder.cs
- AttributeTable.cs
- VariantWrapper.cs
- MediaCommands.cs
- DbConnectionPoolGroup.cs
- Timer.cs
- ErrorFormatter.cs
- TextTreePropertyUndoUnit.cs
- XmlDataContract.cs
- BinaryExpression.cs
- ThreadStaticAttribute.cs
- AppModelKnownContentFactory.cs
- SqlDataSourceCustomCommandEditor.cs
- TextServicesContext.cs
- CatalogZoneBase.cs
- AttributeEmitter.cs
- SplitterPanel.cs
- Parser.cs
- ByteStreamMessageEncodingElement.cs
- MinimizableAttributeTypeConverter.cs
- MenuCommand.cs
- EdmProviderManifest.cs
- SmtpNtlmAuthenticationModule.cs
- ProtocolsConfiguration.cs
- XsdSchemaFileEditor.cs
- FileDialogCustomPlacesCollection.cs
- SqlFlattener.cs
- CompilationRelaxations.cs
- XmlNodeChangedEventArgs.cs
- ProfileInfo.cs
- ExceptionUtility.cs
- ExtendedProtectionPolicyElement.cs
- Part.cs
- SafeFreeMibTable.cs
- BuildDependencySet.cs
- OneOfElement.cs
- DataGridColumn.cs
- Point.cs
- designeractionlistschangedeventargs.cs
- EDesignUtil.cs
- ImageCodecInfo.cs
- WebMessageFormatHelper.cs
- RegexMatch.cs
- CodePropertyReferenceExpression.cs
- _NativeSSPI.cs
- HttpListenerPrefixCollection.cs
- XmlAttribute.cs
- log.cs
- SparseMemoryStream.cs
- SHA512.cs
- RenderingEventArgs.cs
- StructuredTypeEmitter.cs
- SecurityPermission.cs
- WebPartRestoreVerb.cs
- ProtectedConfiguration.cs
- CompressedStack.cs
- NativeObjectSecurity.cs
- XomlCompilerHelpers.cs
- DocumentPageTextView.cs
- PropertyGroupDescription.cs
- SoapSchemaMember.cs
- Attributes.cs
- FixedDocumentPaginator.cs
- CopyAction.cs
- RoutingUtilities.cs
- CodeTypeReference.cs
- _UriSyntax.cs
- DataGridViewCellMouseEventArgs.cs
- ResourceCategoryAttribute.cs
- StringKeyFrameCollection.cs
- ObjectListCommandsPage.cs
- XmlDataSourceNodeDescriptor.cs
- DataBindingCollection.cs
- MailAddress.cs
- AddInIpcChannel.cs
- CodeTryCatchFinallyStatement.cs
- _RequestCacheProtocol.cs
- Clipboard.cs
- SQLRoleProvider.cs
- RegexWorker.cs
- EntityDataSourceWrapperCollection.cs
- WorkflowPageSetupDialog.cs
- SqlDataSourceFilteringEventArgs.cs
- InvalidPrinterException.cs
- DocumentXPathNavigator.cs