ASP.NET Core MVC Controls | ComponentOne
C1.AspNetCore.Mvc Assembly / C1.Web.Mvc Namespace / TabPanel Class / AutoSwitch Property

In This Topic
    AutoSwitch Property (TabPanel)
    In This Topic
    Gets or sets a value that determines whether the control should switch tabs automatically when the user selects a tab using the arrow keys.
    Syntax
    'Declaration
     
    Public Property AutoSwitch As Boolean
    public bool AutoSwitch {get; set;}
    Remarks
    When AutoSwitch is set to true (the default value), pressing the arrow keys automatically switches tabs. Pressing the tab key selects the next element in the tab sequence, which excludes non-selected tab headers. When AutoSwitch is set to false, pressing the arrow keys or the tab key moves the focus to the next or previous tab header, but does not switch tabs. Pressing the Enter or Space keys is required to activate the tab that has the focus.
    See Also