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
- DataGridView.cs
- DetailsViewDeletedEventArgs.cs
- CircleHotSpot.cs
- ComplexType.cs
- LoginName.cs
- RepeaterItemEventArgs.cs
- Application.cs
- KeyFrames.cs
- OutputCacheProfileCollection.cs
- Activity.cs
- SizeAnimationClockResource.cs
- DataGridLength.cs
- Condition.cs
- FloaterParagraph.cs
- BamlLocalizabilityResolver.cs
- TypeDescriptionProviderAttribute.cs
- StringBuilder.cs
- DSASignatureFormatter.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- ModelItemCollection.cs
- RadialGradientBrush.cs
- NotSupportedException.cs
- TablePatternIdentifiers.cs
- RegexGroupCollection.cs
- QueryConverter.cs
- ExpressionBinding.cs
- SocketElement.cs
- XamlWrapperReaders.cs
- ElapsedEventArgs.cs
- Sequence.cs
- RegexRunner.cs
- PersianCalendar.cs
- TrackBar.cs
- XmlStringTable.cs
- UpdateCommand.cs
- IconEditor.cs
- ControllableStoryboardAction.cs
- Annotation.cs
- XmlSchemaCompilationSettings.cs
- HtmlInputFile.cs
- LabelAutomationPeer.cs
- ConnectionPoint.cs
- FontFamilyValueSerializer.cs
- WsatConfiguration.cs
- RandomNumberGenerator.cs
- PeerNearMe.cs
- RayMeshGeometry3DHitTestResult.cs
- WebBrowserContainer.cs
- ModulesEntry.cs
- FamilyMapCollection.cs
- DataGridPagerStyle.cs
- LazyTextWriterCreator.cs
- DiscreteKeyFrames.cs
- ParameterInfo.cs
- PropertyManager.cs
- ElementNotAvailableException.cs
- TextServicesContext.cs
- XmlAttributeHolder.cs
- ConfigurationValues.cs
- OpCellTreeNode.cs
- VisualBasicValue.cs
- _AuthenticationState.cs
- __Error.cs
- PrePrepareMethodAttribute.cs
- MetadataItemCollectionFactory.cs
- InheritanceRules.cs
- OracleLob.cs
- Point4DConverter.cs
- Propagator.cs
- TakeOrSkipWhileQueryOperator.cs
- EndpointAddress.cs
- SqlXml.cs
- DBCommandBuilder.cs
- EmptyImpersonationContext.cs
- SelectorItemAutomationPeer.cs
- TargetControlTypeCache.cs
- AnnotationStore.cs
- WebPartZone.cs
- CodeArrayCreateExpression.cs
- DiscoveryInnerClientAdhoc11.cs
- recordstate.cs
- HttpServerVarsCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- LoadRetryStrategyFactory.cs
- DataGridViewColumnEventArgs.cs
- SendActivityDesigner.cs
- precedingsibling.cs
- GridViewRowPresenterBase.cs
- ListViewItem.cs
- ClrPerspective.cs
- SecurityPermission.cs
- HandleExceptionArgs.cs
- SqlDataSourceView.cs
- SortExpressionBuilder.cs
- TransformConverter.cs
- DataColumnMapping.cs
- SetIndexBinder.cs
- ColumnHeader.cs
- SmtpLoginAuthenticationModule.cs
- ObjectComplexPropertyMapping.cs