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
- UserThread.cs
- ContextMarshalException.cs
- MultiTouchSystemGestureLogic.cs
- SmtpLoginAuthenticationModule.cs
- TraceRecord.cs
- MessageTransmitTraceRecord.cs
- PenThreadWorker.cs
- FreezableCollection.cs
- CancelEventArgs.cs
- MaterialGroup.cs
- DatatypeImplementation.cs
- FileEnumerator.cs
- StylusLogic.cs
- Attributes.cs
- XmlDomTextWriter.cs
- OleDbException.cs
- CatalogZoneBase.cs
- cookieexception.cs
- FixedSOMLineRanges.cs
- PointCollection.cs
- _DigestClient.cs
- DispatcherOperation.cs
- CheckBoxRenderer.cs
- IRCollection.cs
- ApplicationActivator.cs
- CachingHintValidation.cs
- ApplicationTrust.cs
- SystemFonts.cs
- SystemResources.cs
- RedistVersionInfo.cs
- PageAdapter.cs
- TextRunProperties.cs
- LayoutSettings.cs
- ModuleBuilder.cs
- ObjectReaderCompiler.cs
- TableCell.cs
- StyleTypedPropertyAttribute.cs
- DataGridViewTopRowAccessibleObject.cs
- HtmlTableRow.cs
- XmlCharType.cs
- ServicesUtilities.cs
- UpdatePanelTrigger.cs
- PropertyChangeTracker.cs
- PartialCachingAttribute.cs
- ComponentChangedEvent.cs
- HttpFileCollectionBase.cs
- MenuCommandsChangedEventArgs.cs
- assertwrapper.cs
- CodeCommentStatement.cs
- ConvertEvent.cs
- LineMetrics.cs
- VectorAnimationBase.cs
- TextFormatterContext.cs
- Odbc32.cs
- ScriptResourceHandler.cs
- ApplicationContext.cs
- ActiveXSite.cs
- ControlParser.cs
- TransactionCache.cs
- TranslateTransform.cs
- FloatMinMaxAggregationOperator.cs
- ResourcePermissionBase.cs
- HorizontalAlignConverter.cs
- WebMessageEncoderFactory.cs
- SeverityFilter.cs
- CodeCatchClauseCollection.cs
- AssociationType.cs
- EventData.cs
- NotImplementedException.cs
- DependencySource.cs
- EditableRegion.cs
- TextElementAutomationPeer.cs
- WindowsFormsSynchronizationContext.cs
- XmlStreamedByteStreamReader.cs
- ArgumentDesigner.xaml.cs
- HelpInfo.cs
- QueryRewriter.cs
- CLSCompliantAttribute.cs
- DataGridColumnCollection.cs
- QilValidationVisitor.cs
- SubstitutionResponseElement.cs
- SimplePropertyEntry.cs
- FormViewPagerRow.cs
- XmlWriterTraceListener.cs
- XmlExceptionHelper.cs
- XmlIncludeAttribute.cs
- URLIdentityPermission.cs
- UserControl.cs
- DnsPermission.cs
- BinaryObjectInfo.cs
- DesignerVerbToolStripMenuItem.cs
- BrowserTree.cs
- RNGCryptoServiceProvider.cs
- SpellerInterop.cs
- ThousandthOfEmRealDoubles.cs
- GridViewRowPresenterBase.cs
- ClientSession.cs
- ListViewDeleteEventArgs.cs
- Queue.cs
- DataPagerFieldItem.cs