Class PageIndexChangedEventArgs
Represents a class that provides the data for PageIndexChanged event.
Inheritance
System.Object
PageIndexChangedEventArgs
Namespace: Syncfusion.WinForms.DataPager.Events
Assembly: Syncfusion.SfDataGrid.WinForms.dll
Syntax
public class PageIndexChangedEventArgs : EventArgs
Constructors
PageIndexChangedEventArgs(Int32, Int32)
Initializes a new instance of the PageIndexChangedEventArgs class.
Declaration
public PageIndexChangedEventArgs(int oldPageIndex, int newPageIndex)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | oldPageIndex | The old page index. |
| System.Int32 | newPageIndex | The index of the page moved. |
Properties
NewPageIndex
Gets a value indicating the current PageIndex once navigated to the new page.
Declaration
public int NewPageIndex { get; }
Property Value
| Type |
|---|
| System.Int32 |
OldPageIndex
Gets a value indicating the previous PageIndex once navigated to the new page.
Declaration
public int OldPageIndex { get; }
Property Value
| Type |
|---|
| System.Int32 |