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
- PrePrepareMethodAttribute.cs
- TdsParserSessionPool.cs
- XmlDocument.cs
- Inline.cs
- ExportOptions.cs
- HwndTarget.cs
- PathSegmentCollection.cs
- MailAddressCollection.cs
- WebPartsPersonalization.cs
- MouseEvent.cs
- MatchSingleFxEngineOpcode.cs
- SortAction.cs
- OdbcErrorCollection.cs
- SrgsRulesCollection.cs
- _ConnectOverlappedAsyncResult.cs
- Stopwatch.cs
- TypeReference.cs
- OleDbConnection.cs
- Matrix3DValueSerializer.cs
- SoapFault.cs
- Icon.cs
- AttributedMetaModel.cs
- _AutoWebProxyScriptHelper.cs
- PersistenceProviderDirectory.cs
- ObjectComplexPropertyMapping.cs
- FontStretches.cs
- ISessionStateStore.cs
- NegationPusher.cs
- XPathEmptyIterator.cs
- SafeJobHandle.cs
- HttpModulesSection.cs
- ComponentGuaranteesAttribute.cs
- WebPartPersonalization.cs
- IISUnsafeMethods.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- Behavior.cs
- Invariant.cs
- SelectionItemProviderWrapper.cs
- TransactionCache.cs
- Base64WriteStateInfo.cs
- ToolboxItemSnapLineBehavior.cs
- TraceListener.cs
- HostingEnvironmentSection.cs
- PerformanceCounterManager.cs
- SafeReversePInvokeHandle.cs
- SchemaElementLookUpTableEnumerator.cs
- SqlBulkCopyColumnMapping.cs
- RootBuilder.cs
- FixedSOMPageElement.cs
- CodeThrowExceptionStatement.cs
- HWStack.cs
- SqlDataSourceCommandEventArgs.cs
- InvalidProgramException.cs
- FeatureSupport.cs
- GroupByExpressionRewriter.cs
- DocumentPaginator.cs
- _Connection.cs
- WebServiceTypeData.cs
- TypographyProperties.cs
- ListViewDataItem.cs
- DataGridViewColumnTypePicker.cs
- SqlDataSourceEnumerator.cs
- ChangeNode.cs
- ScriptingProfileServiceSection.cs
- DynamicDataResources.Designer.cs
- DataSourceXmlSubItemAttribute.cs
- ListSortDescriptionCollection.cs
- ColorIndependentAnimationStorage.cs
- ManagementScope.cs
- TextEditorMouse.cs
- GridSplitterAutomationPeer.cs
- InternalResources.cs
- DataControlLinkButton.cs
- ScrollBar.cs
- PageAdapter.cs
- FontStyleConverter.cs
- _NegoState.cs
- Component.cs
- DataTransferEventArgs.cs
- TextRunCache.cs
- HttpCookiesSection.cs
- DataGridViewTextBoxCell.cs
- ProviderManager.cs
- MediaElement.cs
- EntityReference.cs
- PeekCompletedEventArgs.cs
- DataGridCellItemAutomationPeer.cs
- PropertyState.cs
- SqlLiftIndependentRowExpressions.cs
- DriveNotFoundException.cs
- WebPartTransformerCollection.cs
- TriggerCollection.cs
- Pkcs7Recipient.cs
- OverrideMode.cs
- FunctionImportElement.cs
- CodeCommentStatementCollection.cs
- DocumentXPathNavigator.cs
- SerialPort.cs
- ImageMapEventArgs.cs
- Convert.cs