Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- RegistryPermission.cs
- NullableDecimalSumAggregationOperator.cs
- StrongNamePublicKeyBlob.cs
- RemoveStoryboard.cs
- DataGridViewCellConverter.cs
- QueueProcessor.cs
- ComponentResourceManager.cs
- CompilerError.cs
- WebMessageFormatHelper.cs
- ItemList.cs
- EmbeddedMailObjectsCollection.cs
- HyperLinkColumn.cs
- ResourceReader.cs
- DisplayMemberTemplateSelector.cs
- SignatureDescription.cs
- ProfilePropertyNameValidator.cs
- MessageDroppedTraceRecord.cs
- TextEditor.cs
- DataGridHelper.cs
- UpdateManifestForBrowserApplication.cs
- FileBasedResourceGroveler.cs
- XPathItem.cs
- ParentQuery.cs
- XmlSchemaAnnotated.cs
- ArrangedElementCollection.cs
- SwitchElementsCollection.cs
- SQLConvert.cs
- QueryContinueDragEvent.cs
- CodeChecksumPragma.cs
- RSAProtectedConfigurationProvider.cs
- WebZone.cs
- Point3DCollection.cs
- Vector3DIndependentAnimationStorage.cs
- XsltArgumentList.cs
- EdmItemError.cs
- ChangesetResponse.cs
- JoinElimination.cs
- DataListItemCollection.cs
- HandlerWithFactory.cs
- FloatSumAggregationOperator.cs
- DecoderBestFitFallback.cs
- InkCollectionBehavior.cs
- FormViewModeEventArgs.cs
- SaveFileDialog.cs
- FormView.cs
- CommonXSendMessage.cs
- TypeSystem.cs
- XhtmlBasicPhoneCallAdapter.cs
- SqlClientWrapperSmiStreamChars.cs
- DocumentXmlWriter.cs
- HitTestParameters.cs
- EntityDescriptor.cs
- RequestCacheManager.cs
- SuppressMergeCheckAttribute.cs
- ModulesEntry.cs
- FontEmbeddingManager.cs
- RawKeyboardInputReport.cs
- OleDbConnection.cs
- HttpStreamMessage.cs
- ThemeableAttribute.cs
- EventSourceCreationData.cs
- ThousandthOfEmRealDoubles.cs
- DockingAttribute.cs
- WindowsGraphics.cs
- SQLMembershipProvider.cs
- XmlSchemaType.cs
- SqlBinder.cs
- KeySplineConverter.cs
- WebDescriptionAttribute.cs
- IPAddress.cs
- ActivityValidator.cs
- CacheForPrimitiveTypes.cs
- SqlMethodAttribute.cs
- CommandCollectionEditor.cs
- SecurityKeyIdentifierClause.cs
- PKCS1MaskGenerationMethod.cs
- JavaScriptString.cs
- AddInEnvironment.cs
- DesignerLoader.cs
- WebPermission.cs
- DataObject.cs
- IgnoreSectionHandler.cs
- NotConverter.cs
- RewritingProcessor.cs
- ServiceMemoryGates.cs
- SkinBuilder.cs
- APCustomTypeDescriptor.cs
- Base64Stream.cs
- XamlSerializerUtil.cs
- ToolStripSettings.cs
- mansign.cs
- ChannelParameterCollection.cs
- TextLineResult.cs
- CodeGen.cs
- UrlPath.cs
- ObjectToIdCache.cs
- COMException.cs
- PrintEvent.cs
- SplayTreeNode.cs
- DataGridViewRowsAddedEventArgs.cs