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
- CompareInfo.cs
- PinnedBufferMemoryStream.cs
- HMACSHA256.cs
- DbDataAdapter.cs
- RouteUrlExpressionBuilder.cs
- ProfileServiceManager.cs
- MultiPageTextView.cs
- CustomError.cs
- LinkConverter.cs
- PreservationFileReader.cs
- DispatcherHooks.cs
- TypeConverterHelper.cs
- UnsafeNativeMethods.cs
- HelpOperationInvoker.cs
- FlowDecisionLabelFeature.cs
- NameValueConfigurationCollection.cs
- BaseInfoTable.cs
- FeatureSupport.cs
- TransportReplyChannelAcceptor.cs
- RowToParametersTransformer.cs
- DataGridViewLinkCell.cs
- FontFamilyValueSerializer.cs
- CryptoConfig.cs
- SelectionRangeConverter.cs
- sqlpipe.cs
- XmlAggregates.cs
- StackOverflowException.cs
- StaticDataManager.cs
- HttpConfigurationContext.cs
- RecordBuilder.cs
- ColorTranslator.cs
- SqlColumnizer.cs
- XmlSchemaExporter.cs
- LogicalChannelCollection.cs
- PerfCounterSection.cs
- ReadOnlyHierarchicalDataSource.cs
- ObjectListSelectEventArgs.cs
- EventLogPermissionEntry.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- selecteditemcollection.cs
- File.cs
- GridProviderWrapper.cs
- LinqDataSourceUpdateEventArgs.cs
- CharUnicodeInfo.cs
- MsmqNonTransactedPoisonHandler.cs
- CompilerParameters.cs
- XhtmlBasicImageAdapter.cs
- WebPartConnectionsConnectVerb.cs
- XamlVector3DCollectionSerializer.cs
- ConfigViewGenerator.cs
- TypeGeneratedEventArgs.cs
- TreeNodeCollectionEditor.cs
- _SslStream.cs
- ExclusiveCanonicalizationTransform.cs
- ComponentSerializationService.cs
- SafeFileMappingHandle.cs
- SessionParameter.cs
- SqlStream.cs
- WebColorConverter.cs
- CoTaskMemHandle.cs
- TemporaryBitmapFile.cs
- ComponentCollection.cs
- OrderedDictionary.cs
- HostingEnvironment.cs
- PropertyInformation.cs
- InkCanvasSelectionAdorner.cs
- WebConfigurationFileMap.cs
- NetNamedPipeSecurityElement.cs
- CodeAttributeArgument.cs
- StackBuilderSink.cs
- PolyLineSegment.cs
- ISAPIRuntime.cs
- SpeechSynthesizer.cs
- OlePropertyStructs.cs
- TemplateInstanceAttribute.cs
- TcpProcessProtocolHandler.cs
- StdRegProviderWrapper.cs
- MailWebEventProvider.cs
- OracleException.cs
- securitycriticaldataClass.cs
- WsatTransactionFormatter.cs
- ConstrainedGroup.cs
- _ConnectOverlappedAsyncResult.cs
- ACL.cs
- FullTrustAssemblyCollection.cs
- CompoundFileIOPermission.cs
- HTMLTextWriter.cs
- MemberCollection.cs
- XmlProcessingInstruction.cs
- Accessible.cs
- versioninfo.cs
- WebScriptEndpoint.cs
- HashHelper.cs
- SqlConnection.cs
- ValidatingPropertiesEventArgs.cs
- RootProfilePropertySettingsCollection.cs
- WpfMemberInvoker.cs
- DayRenderEvent.cs
- ProviderUtil.cs
- TableProviderWrapper.cs