New to Telerik UI for WinForms? Start a free 30-day trial

Provides a page's current and proposed indexes before a change that can be canceled.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadPageViewIndexChangingEventArgs : RadPageViewCancelEventArgs

Inheritance: objectEventArgsRadPageViewEventArgsRadPageViewCancelEventArgsRadPageViewIndexChangingEventArgs

Inherited Members RadPageViewCancelEventArgs.CancelRadPageViewEventArgs.PageEventArgs.Empty

Constructors

Creates event data for a proposed page index change.

C#
public RadPageViewIndexChangingEventArgs(RadPageViewPage page, int newIndex, int currentIndex)
Parameters:pageRadPageViewPage

The page whose position may change.

newIndexint

The proposed index.

currentIndexint

The page's current index.

Properties

Gets the index the page is currently at.

C#
public int CurrentIndex { get; }

Gets or sets the proposed index in the event data. Changing this value does not change the index applied to the page.

C#
public int NewIndex { get; set; }