GridViewBase.CurrentPageIndexChanging Event

Occurs before the selected page is changed.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v20.1.dll

Declaration

public event EventHandler<DataPagerPageIndexChangingEventArgs> CurrentPageIndexChanging
Public Event CurrentPageIndexChanging As EventHandler(Of DataPagerPageIndexChangingEventArgs)

Event Data

The CurrentPageIndexChanging event's data class is DataPagerPageIndexChangingEventArgs. The following properties provide information specific to this event:

Property Description
IsCancel Gets or sets whether the event should be canceled.
NewValue Gets a new value. Inherited from DataPagerPageIndexChangedEventArgs.
OldValue Gets an old value. Inherited from DataPagerPageIndexChangedEventArgs.

Remarks

Refer to the Data Paging topic to learn more.

See Also