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

Provides the tab and proposed position for a cancellable tab-index change.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class RadTabbedFormControlIndexChangingEventArgs : RadTabbedFormControlCancelEventArgs

Inheritance: objectEventArgsRadTabbedFormControlEventArgsRadTabbedFormControlCancelEventArgsRadTabbedFormControlIndexChangingEventArgs

Inherited Members RadTabbedFormControlCancelEventArgs.CancelRadTabbedFormControlEventArgs.TabEventArgs.Empty

Constructors

Initializes event data for a tab-index change request.

C#
public RadTabbedFormControlIndexChangingEventArgs(RadTabbedFormControlTab tab, int newIndex, int currentIndex)
Parameters:tabRadTabbedFormControlTab

The tab whose position is changing.

newIndexint

The proposed zero-based position.

currentIndexint

The tab's current zero-based position.

Properties

Gets the index the tab is currently at.

C#
public int CurrentIndex { get; }

Gets or sets the new index to be applied to the associated tab.

C#
public int NewIndex { get; set; }