menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TabSelectedEventArgs - Blazor API Reference | Syncfusion

    Show / Hide Table of Contents

    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

    true if the tab is contextual; otherwise, false. The default value is false.

    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.

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved