WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PageIndexChangingEventArgs - WPF API Reference | Syncfusion PageIndexChanging event. ">

    Show / Hide Table of Contents

    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 Description
    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 Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved