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
- ICspAsymmetricAlgorithm.cs
- AssemblyBuilderData.cs
- TextSegment.cs
- DataGridAddNewRow.cs
- AdornerLayer.cs
- BitmapEffectInputData.cs
- WriterOutput.cs
- Exceptions.cs
- BrushValueSerializer.cs
- PropertySourceInfo.cs
- RegexMatch.cs
- ServiceOperationListItem.cs
- RtType.cs
- IsolatedStorage.cs
- UTF32Encoding.cs
- CodeLinePragma.cs
- ISFClipboardData.cs
- HScrollBar.cs
- NamespaceQuery.cs
- XPathNodeList.cs
- QilReplaceVisitor.cs
- Int16.cs
- mediaeventshelper.cs
- LocalizableAttribute.cs
- DataSourceProvider.cs
- UIPropertyMetadata.cs
- EditorServiceContext.cs
- InkCanvasSelection.cs
- RSAPKCS1SignatureFormatter.cs
- compensatingcollection.cs
- ImageListStreamer.cs
- DataSpaceManager.cs
- Deserializer.cs
- LocatorPart.cs
- TransactionChannel.cs
- SettingsPropertyCollection.cs
- ApplyImportsAction.cs
- RemotingConfigParser.cs
- HandlerBase.cs
- UdpChannelFactory.cs
- ConfigurationException.cs
- ObjectViewQueryResultData.cs
- ValueTypeIndexerReference.cs
- Grant.cs
- SQLDoubleStorage.cs
- InvalidOleVariantTypeException.cs
- TemplatePropertyEntry.cs
- ListCollectionView.cs
- BindingContext.cs
- SqlParameter.cs
- PnrpPermission.cs
- ServiceDiscoveryElement.cs
- AssemblyHash.cs
- UpdatePanel.cs
- AxHost.cs
- RegistryDataKey.cs
- SerializationStore.cs
- GregorianCalendarHelper.cs
- HtmlElementCollection.cs
- TypeElement.cs
- GroupItemAutomationPeer.cs
- Variable.cs
- TextElementCollectionHelper.cs
- SecurityTokenProviderContainer.cs
- XmlILAnnotation.cs
- RewritingSimplifier.cs
- RuntimeWrappedException.cs
- OperationInfo.cs
- SigningCredentials.cs
- AnimationClockResource.cs
- EmptyQuery.cs
- SchemaEntity.cs
- DBDataPermission.cs
- XmlStringTable.cs
- safex509handles.cs
- CTreeGenerator.cs
- BrushValueSerializer.cs
- SubqueryRules.cs
- ProfileProvider.cs
- ChangeDirector.cs
- MTConfigUtil.cs
- ColorInterpolationModeValidation.cs
- ResourceSet.cs
- ListComponentEditorPage.cs
- ProtocolsSection.cs
- LocalBuilder.cs
- OutputScopeManager.cs
- TreeView.cs
- UnmanagedMemoryStreamWrapper.cs
- Translator.cs
- ServiceReference.cs
- Cursors.cs
- CellQuery.cs
- RecordManager.cs
- StatusBarPanel.cs
- FontFaceLayoutInfo.cs
- GroupQuery.cs
- TextFormatterContext.cs
- AnnotationMap.cs
- EnumMember.cs