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
- Triplet.cs
- SqlTransaction.cs
- CoTaskMemHandle.cs
- CodeSubDirectoriesCollection.cs
- DataServiceKeyAttribute.cs
- Classification.cs
- BaseCAMarshaler.cs
- PathFigureCollectionConverter.cs
- CLSCompliantAttribute.cs
- VisualTarget.cs
- CancellationHandlerDesigner.cs
- ToolStripGrip.cs
- FlowDocumentReaderAutomationPeer.cs
- DropTarget.cs
- UnsafeNativeMethods.cs
- XmlSerializableServices.cs
- QueryIntervalOp.cs
- AnimationLayer.cs
- ValidatedControlConverter.cs
- TrackingLocation.cs
- XmlAttributeOverrides.cs
- SchemaElementLookUpTable.cs
- Wildcard.cs
- BuildManagerHost.cs
- ProtocolsConfigurationHandler.cs
- SizeValueSerializer.cs
- MetadataExchangeClient.cs
- PassportAuthenticationEventArgs.cs
- UIElementHelper.cs
- EntityDataSourceWrapperCollection.cs
- Rect3DConverter.cs
- RawStylusInputReport.cs
- Matrix.cs
- ActivityXamlServices.cs
- WorkflowViewElement.cs
- ToolStripDropDownButton.cs
- HierarchicalDataTemplate.cs
- ImageAttributes.cs
- AggregateNode.cs
- EndpointDiscoveryBehavior.cs
- MultiAsyncResult.cs
- ListViewTableCell.cs
- DictionaryTraceRecord.cs
- ErrorInfoXmlDocument.cs
- MSAANativeProvider.cs
- SqlMetaData.cs
- Models.cs
- WorkflowValidationFailedException.cs
- IisTraceListener.cs
- RuntimeEnvironment.cs
- ScrollableControlDesigner.cs
- InvalidContentTypeException.cs
- VisualStyleRenderer.cs
- SegmentInfo.cs
- MultiBindingExpression.cs
- PointKeyFrameCollection.cs
- HtmlTableCell.cs
- NativeRecognizer.cs
- SendOperation.cs
- ReceiveCompletedEventArgs.cs
- DotExpr.cs
- RuleInfoComparer.cs
- TextRenderingModeValidation.cs
- TypedTableGenerator.cs
- CssTextWriter.cs
- TraceUtils.cs
- WSSecurityJan2004.cs
- TextUtf8RawTextWriter.cs
- EntityTransaction.cs
- ReadOnlyDataSourceView.cs
- WebServiceAttribute.cs
- DataControlFieldCell.cs
- SafeProcessHandle.cs
- X509Utils.cs
- EventLogException.cs
- TabItem.cs
- CDSCollectionETWBCLProvider.cs
- FixedSOMPageConstructor.cs
- Graphics.cs
- Int32RectConverter.cs
- DirtyTextRange.cs
- IriParsingElement.cs
- DataSourceHelper.cs
- CompiledXpathExpr.cs
- InstanceOwnerException.cs
- GatewayDefinition.cs
- DataKeyCollection.cs
- contentDescriptor.cs
- NetPeerTcpBindingCollectionElement.cs
- DataListItemEventArgs.cs
- DiagnosticsConfigurationHandler.cs
- SecureConversationDriver.cs
- VectorCollection.cs
- WebPartConnectionsConnectVerb.cs
- PropertyInfoSet.cs
- DataPagerFieldCollection.cs
- DBSchemaRow.cs
- DocumentSchemaValidator.cs
- AudioSignalProblemOccurredEventArgs.cs
- ValidateNames.cs