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
- DecoderNLS.cs
- XmlSchemaGroupRef.cs
- OdbcDataAdapter.cs
- cookieexception.cs
- ImageSource.cs
- AppDomainProtocolHandler.cs
- XPathEmptyIterator.cs
- GPRECT.cs
- TextEditor.cs
- SHA384Managed.cs
- ModelItem.cs
- SystemBrushes.cs
- ItemList.cs
- SoapFormatterSinks.cs
- MustUnderstandBehavior.cs
- WhitespaceRuleReader.cs
- CorrelationService.cs
- CroppedBitmap.cs
- DataChangedEventManager.cs
- StringUtil.cs
- SystemNetworkInterface.cs
- ListDictionaryInternal.cs
- SqlConnectionHelper.cs
- ImageSourceConverter.cs
- TableCellCollection.cs
- XmlSchemaImport.cs
- TempFiles.cs
- Inflater.cs
- DataGridColumnHeaderItemAutomationPeer.cs
- WebRequest.cs
- AxImporter.cs
- ValidatorCollection.cs
- CreatingCookieEventArgs.cs
- ListParagraph.cs
- SqlDataSourceFilteringEventArgs.cs
- DataConnectionHelper.cs
- GeneralEndpointIdentity.cs
- TreeIterators.cs
- SimpleHandlerBuildProvider.cs
- TempFiles.cs
- RSAPKCS1SignatureFormatter.cs
- VectorCollectionConverter.cs
- RoleBoolean.cs
- CodeTypeParameterCollection.cs
- NeutralResourcesLanguageAttribute.cs
- DebugView.cs
- PhysicalAddress.cs
- SequentialUshortCollection.cs
- HtmlLink.cs
- ActivationServices.cs
- GetPageNumberCompletedEventArgs.cs
- CharacterMetricsDictionary.cs
- Atom10ItemFormatter.cs
- URLIdentityPermission.cs
- _ShellExpression.cs
- ToolBarButtonClickEvent.cs
- basecomparevalidator.cs
- NumericUpDownAccelerationCollection.cs
- InstanceData.cs
- PropertyChange.cs
- Tile.cs
- OutputScope.cs
- SectionXmlInfo.cs
- XPathNodePointer.cs
- AspProxy.cs
- StylesEditorDialog.cs
- ProxyHwnd.cs
- XmlSchemaSet.cs
- Base64Decoder.cs
- MergeFailedEvent.cs
- DbConnectionPoolIdentity.cs
- TextTrailingWordEllipsis.cs
- TextRangeProviderWrapper.cs
- ScrollProperties.cs
- NonParentingControl.cs
- ResXResourceReader.cs
- _ScatterGatherBuffers.cs
- UpdateRecord.cs
- ContentHostHelper.cs
- DataGridLength.cs
- ImageSourceValueSerializer.cs
- XhtmlTextWriter.cs
- PatternMatchRules.cs
- Message.cs
- NamedElement.cs
- StrongName.cs
- HtmlTableCell.cs
- CodeTypeDelegate.cs
- RijndaelManaged.cs
- UserControlBuildProvider.cs
- DataGridSortCommandEventArgs.cs
- uribuilder.cs
- HwndMouseInputProvider.cs
- LookupNode.cs
- XdrBuilder.cs
- WebPartEditVerb.cs
- DBDataPermission.cs
- TextBoxAutomationPeer.cs
- SharedUtils.cs
- CodeLabeledStatement.cs