Class TabSelectedEventArgs
Provides information about the TabSelected event callback.
Inheritance
System.Object
TabSelectedEventArgs
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class TabSelectedEventArgs : Object
Remarks
This event occurs after a tab has been selected within the ribbon.
Constructors
TabSelectedEventArgs()
Declaration
public TabSelectedEventArgs()
Properties
IsContextual
Gets or sets whether the tab is a contextual tab.
Declaration
public bool IsContextual { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
Use this property to determine the type of the selected tab.
PreviousIndex
Gets or sets the index of the previously selected tab.
Declaration
public int PreviousIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer representing the index of the previously selected tab. |
Remarks
This property can be used to understand the history of tab selections.
SelectedIndex
Gets or sets the index of the currently selected tab.
Declaration
public int SelectedIndex { get; set; }
Property Value
Type | Description |
---|---|
System.Int32 | An integer representing the index of the currently selected tab. |
Remarks
This property provides the index of the newly selected tab, allowing implementations to react accordingly.