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
- QueryInterceptorAttribute.cs
- HybridDictionary.cs
- GuidTagList.cs
- RectValueSerializer.cs
- ContextTokenTypeConverter.cs
- ViewStateChangedEventArgs.cs
- EventListenerClientSide.cs
- SmtpMail.cs
- ImageClickEventArgs.cs
- ZipIOZip64EndOfCentralDirectoryBlock.cs
- ConfigXmlWhitespace.cs
- ActivityBuilderXamlWriter.cs
- MessageEncoder.cs
- DbQueryCommandTree.cs
- FontNamesConverter.cs
- MobileControlPersister.cs
- ServicePointManager.cs
- SoapCodeExporter.cs
- TextSearch.cs
- sqlpipe.cs
- SqlNotificationRequest.cs
- ShutDownListener.cs
- TransportConfigurationTypeElement.cs
- HierarchicalDataTemplate.cs
- Evidence.cs
- DragSelectionMessageFilter.cs
- RequestCache.cs
- WebColorConverter.cs
- OutputScope.cs
- NeutralResourcesLanguageAttribute.cs
- SafeHandles.cs
- SqlUserDefinedAggregateAttribute.cs
- OdbcDataReader.cs
- ThreadAbortException.cs
- CodeSnippetExpression.cs
- TracedNativeMethods.cs
- RegexBoyerMoore.cs
- CodeExporter.cs
- ServicesExceptionNotHandledEventArgs.cs
- ArrayList.cs
- XmlSchemaExternal.cs
- ObjectContext.cs
- SpeechEvent.cs
- DataSetMappper.cs
- TypedDatasetGenerator.cs
- WmfPlaceableFileHeader.cs
- Border.cs
- EnumerableCollectionView.cs
- NavigationPropertyEmitter.cs
- SqlExpander.cs
- Point3DCollectionConverter.cs
- SHA384.cs
- DesignerAttribute.cs
- RuntimeTrackingProfile.cs
- JavascriptXmlWriterWrapper.cs
- SqlVersion.cs
- WindowInteractionStateTracker.cs
- CustomPopupPlacement.cs
- EntityChangedParams.cs
- PrintPreviewDialog.cs
- DATA_BLOB.cs
- ObjectStateManagerMetadata.cs
- NonSerializedAttribute.cs
- DataReceivedEventArgs.cs
- EFAssociationProvider.cs
- ActiveXContainer.cs
- ManualResetEvent.cs
- MembershipPasswordException.cs
- PropertyCondition.cs
- InplaceBitmapMetadataWriter.cs
- SecurityResources.cs
- CompositeDataBoundControl.cs
- ReturnEventArgs.cs
- ApplicationException.cs
- EasingFunctionBase.cs
- DragDeltaEventArgs.cs
- RemoteWebConfigurationHost.cs
- ReliabilityContractAttribute.cs
- MarkupCompilePass1.cs
- CryptoApi.cs
- OrderedDictionaryStateHelper.cs
- SystemUnicastIPAddressInformation.cs
- Trace.cs
- COM2IDispatchConverter.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- XmlTextReaderImpl.cs
- ControlBuilder.cs
- EnumBuilder.cs
- DynamicScriptObject.cs
- QuestionEventArgs.cs
- ConfigurationManager.cs
- SynchronizationScope.cs
- TreePrinter.cs
- HashHelpers.cs
- BindingsCollection.cs
- ExtendedTransformFactory.cs
- ColumnTypeConverter.cs
- ServiceObjectContainer.cs
- UiaCoreApi.cs
- x509store.cs