C1.AspNetCore.Mvc Assembly / C1.Web.Mvc Namespace / Accordion Class / AutoSwitch Property

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