Class PageIndexChangingEventArgs
Provides data for PageIndexChanging event.
Inheritance
System.Object
PageIndexChangingEventArgs
Namespace: Syncfusion.UI.Xaml.Controls.DataPager
Assembly: Syncfusion.SfGrid.WPF.dll
Syntax
public class PageIndexChangingEventArgs : CancelEventArgs
Remarks
c To skip the page navigation, you have to set Cancel as true in System.ComponentModel.CancelEventArgs of PageIndexChanging event.
Constructors
PageIndexChangingEventArgs()
Declaration
public PageIndexChangingEventArgs()
Properties
NewPageIndex
Gets or sets the NewPageIndex while navigating from the previous page.
Declaration
public int NewPageIndex { get; set; }
Property Value
Type |
---|
System.Int32 |
Remarks
While navigating, NewPageIndex can be changed in PageIndexChanging event.
OldPageIndex
Get the previous PageIndex while navigating to the other page.
Declaration
public int OldPageIndex { get; }
Property Value
Type |
---|
System.Int32 |