Class PageIndexChangedEventArgs
Represents a class that provides the data for PageIndexChanged event.
Inheritance
System.Object
System.EventArgs
PageIndexChangedEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |