New to Telerik UI for WinFormsStart a free 30-day trial

Represents event data for the following events: OnTabSelecting

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class CommandTabSelectingEventArgs : CancelEventArgs

Inheritance: objectEventArgsCancelEventArgsCommandTabSelectingEventArgs

Inherited Members CancelEventArgs.CancelEventArgs.Empty

Constructors

Creats a new instance of the CommandTabSelectingEventArgs class.

C#
public CommandTabSelectingEventArgs(RibbonTab oldCommandTab, RibbonTab newCommandTab)
Parameters:oldCommandTabRibbonTab

The tab which is currently selected

newCommandTabRibbonTab

The tab that is being selected.

Properties

Gets the tab that is being selected.

C#
public RibbonTab NewCommandTab { get; }

Gets the tab which is currently selected.

C#
public RibbonTab OldCommandTab { get; }