'Declaration Public Event PageChanging As EventHandler(Of PageChangingEventArgs)
public event EventHandler<PageChangingEventArgs> PageChanging
Event Data
The event handler receives an argument of type PageChangingEventArgs containing data related to this event. The following PageChangingEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Cancel | (Inherited from System.ComponentModel.CancelEventArgs) |
NewPageIndex | Gets the index of the requested page. |
Remarks
This event allows to cancel the ongoing PageIndex change by setting System.ComponentModel.CancelEventArgs.Cancel to true.
See Also