Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / xsp / System / Web / UI / WebControls / GridViewPageEventArgs.cs / 1305376 / GridViewPageEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- /* */ namespace System.Web.UI.WebControls { using System; using System.ComponentModel; ////// 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; ////// 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
- SpeechRecognizer.cs
- Cursors.cs
- ScriptDescriptor.cs
- TcpStreams.cs
- ProtocolsConfigurationEntry.cs
- XslAst.cs
- MD5CryptoServiceProvider.cs
- URLString.cs
- RegexReplacement.cs
- ContextDataSource.cs
- MsmqChannelFactory.cs
- CorrelationQueryBehavior.cs
- Error.cs
- CannotUnloadAppDomainException.cs
- TextOnlyOutput.cs
- ProfileModule.cs
- RegisteredDisposeScript.cs
- IdentityValidationException.cs
- CreateUserWizardStep.cs
- UserControl.cs
- BasicAsyncResult.cs
- ConnectionStringsExpressionBuilder.cs
- ProviderCommandInfoUtils.cs
- ReflectPropertyDescriptor.cs
- DesignerFrame.cs
- AtomContentProperty.cs
- EventLogPermissionAttribute.cs
- serverconfig.cs
- ScriptControl.cs
- ConfigurationLockCollection.cs
- XmlBindingWorker.cs
- RoleManagerEventArgs.cs
- ServiceThrottle.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- Mutex.cs
- GridEntryCollection.cs
- KerberosTokenFactoryCredential.cs
- DemultiplexingClientMessageFormatter.cs
- ContractMapping.cs
- QueryResponse.cs
- HostExecutionContextManager.cs
- ByteConverter.cs
- Size.cs
- StylusTip.cs
- RightsDocument.cs
- PathFigureCollection.cs
- HWStack.cs
- ServiceObjectContainer.cs
- PathParser.cs
- _DisconnectOverlappedAsyncResult.cs
- DataColumnPropertyDescriptor.cs
- categoryentry.cs
- DBSqlParserColumnCollection.cs
- FormsAuthenticationUser.cs
- AuthenticationException.cs
- IfAction.cs
- MetadataFile.cs
- HostExecutionContextManager.cs
- HealthMonitoringSectionHelper.cs
- HtmlContainerControl.cs
- DoubleIndependentAnimationStorage.cs
- _Rfc2616CacheValidators.cs
- BitmapPalettes.cs
- ClaimComparer.cs
- UnsafeNativeMethods.cs
- ParenExpr.cs
- SelectorItemAutomationPeer.cs
- AsyncWaitHandle.cs
- FillBehavior.cs
- TcpDuplicateContext.cs
- DescendantOverDescendantQuery.cs
- ScriptingSectionGroup.cs
- SecureUICommand.cs
- MouseEventArgs.cs
- ProfileManager.cs
- TextBoxAutomationPeer.cs
- SetterBaseCollection.cs
- CacheDependency.cs
- Metafile.cs
- ObjectIDGenerator.cs
- DateTimeOffset.cs
- ExecutionScope.cs
- WindowInteractionStateTracker.cs
- CategoryGridEntry.cs
- BrowserInteropHelper.cs
- BuildProviderAppliesToAttribute.cs
- SynchronizedDisposablePool.cs
- ImageEditor.cs
- RemoteX509AsymmetricSecurityKey.cs
- HMAC.cs
- DetailsViewPageEventArgs.cs
- TreeViewEvent.cs
- Timeline.cs
- ProxyWebPart.cs
- SmtpSection.cs
- ChtmlSelectionListAdapter.cs
- FontFamilyIdentifier.cs
- BindingManagerDataErrorEventArgs.cs
- Stacktrace.cs
- ConnectionPointGlyph.cs