Fork me on GitHub

PageChangingEventArgs Class

Provides data for the PageChanging event.

C# Syntax:

public sealed class PageChangingEventArgs : CancelEventArgs


Name Description
PageChangingEventArgs Initializes a new instance of the PageChangingEventArgs class.


Name Description
Cancel Gets or sets a value that indicates whether the operation should be canceled. (Inherited from CancelEventArgs.)
NewPageIndex Gets the index of the requested page.


The requested page change can be canceled by setting the Cancel property to true.