[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.TabPanelBuilder.AutoSwitch

AutoSwitch Method

AutoSwitch(bool)

Configurates AutoSwitch. Sets a value that determines whether the control should switch tabs automatically when the user selects a tab using the arrow keys.

Declaration
public TabPanelBuilder AutoSwitch(bool value)
Parameters
Type Name Description
bool value

The value.

Returns
Type Description
TabPanelBuilder

Current builder.

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.