Class TabSelectedEventArgs
Provides information about the TabSelected event callback.
Inherited Members
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class TabSelectedEventArgs : BaseEventArgs
Remarks
This event occurs after a tab has been selected within the ribbon.
Constructors
TabSelectedEventArgs()
Declaration
public TabSelectedEventArgs()
Properties
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.