ComponentOne ASP.NET MVC Controls
AutoSwitch Method

C1.Web.Mvc.Fluent Namespace > TabPanelBuilder Class : AutoSwitch Method
The value.
Configurates C1.Web.Mvc.TabPanel.AutoSwitch. 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 Function AutoSwitch( _
   ByVal value As Boolean _
) As TabPanelBuilder
public TabPanelBuilder AutoSwitch( 
   bool value
)

Parameters

value
The value.

Return Value

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.
See Also

Reference

TabPanelBuilder Class
TabPanelBuilder Members