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
- OleDbMetaDataFactory.cs
- EnumType.cs
- SupportsPreviewControlAttribute.cs
- IgnoreFlushAndCloseStream.cs
- MailDefinition.cs
- DispatcherEventArgs.cs
- TimeoutTimer.cs
- SqlCommand.cs
- HostnameComparisonMode.cs
- DeclarationUpdate.cs
- SymbolMethod.cs
- QilStrConcat.cs
- DesignerProperties.cs
- XmlDocumentSerializer.cs
- _NestedMultipleAsyncResult.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- ViewSimplifier.cs
- SecurityKeyIdentifier.cs
- __Error.cs
- AttributeUsageAttribute.cs
- ExclusiveNamedPipeTransportManager.cs
- FacetValueContainer.cs
- DataSourceXmlTextReader.cs
- WithStatement.cs
- ProfessionalColors.cs
- NTAccount.cs
- CFStream.cs
- ImplicitInputBrush.cs
- CodeRemoveEventStatement.cs
- SchemaElementLookUpTableEnumerator.cs
- EntityDataSourceWrapper.cs
- EnterpriseServicesHelper.cs
- CompiledELinqQueryState.cs
- ColorConvertedBitmapExtension.cs
- NavigationPropertyEmitter.cs
- XmlSerializerFactory.cs
- ValidationEventArgs.cs
- IItemProperties.cs
- DataGridViewTextBoxEditingControl.cs
- Oci.cs
- ContextActivityUtils.cs
- XAMLParseException.cs
- RuleElement.cs
- ProfileSettingsCollection.cs
- DebugInfoExpression.cs
- GridViewSelectEventArgs.cs
- HuffmanTree.cs
- TrackingStringDictionary.cs
- CategoryGridEntry.cs
- TypeName.cs
- Activator.cs
- CurrencyWrapper.cs
- CheckBoxField.cs
- ExtensibleClassFactory.cs
- ImageSourceValueSerializer.cs
- HasActivatableWorkflowEvent.cs
- XdrBuilder.cs
- EnumMember.cs
- SiteMapDataSource.cs
- altserialization.cs
- XslNumber.cs
- XmlExtensionFunction.cs
- MenuScrollingVisibilityConverter.cs
- AspCompat.cs
- RegistrySecurity.cs
- TransformGroup.cs
- KerberosRequestorSecurityToken.cs
- XmlSiteMapProvider.cs
- SynchronizationFilter.cs
- FontFamilyConverter.cs
- initElementDictionary.cs
- XMLDiffLoader.cs
- OrderedEnumerableRowCollection.cs
- DescendentsWalkerBase.cs
- safelink.cs
- InternalControlCollection.cs
- securitycriticaldataClass.cs
- FontStyles.cs
- MultiTrigger.cs
- ImageList.cs
- AttributeCollection.cs
- TreeWalkHelper.cs
- SQLInt32Storage.cs
- WebScriptEnablingElement.cs
- EntityDataSourceSelectedEventArgs.cs
- HostingEnvironmentException.cs
- UIPermission.cs
- WorkflowViewManager.cs
- ConditionalAttribute.cs
- configsystem.cs
- ErrorTableItemStyle.cs
- NotifyInputEventArgs.cs
- WebPartConnectionCollection.cs
- NominalTypeEliminator.cs
- XMLUtil.cs
- XPathSingletonIterator.cs
- CaretElement.cs
- ObjectDataSourceDisposingEventArgs.cs
- PermissionRequestEvidence.cs
- StylusPlugInCollection.cs