[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.AccordionBuilder

AccordionBuilder Class

Defines a builder to configurate Accordion.

Implements
Namespace: C1.Web.Mvc.Fluent
Assembly: C1.Web.Mvc.dll
Syntax
public class AccordionBuilder : ControlBuilder<Accordion, AccordionBuilder>, IHtmlString

Constructors

Name Description
AccordionBuilder(Accordion)

Creates one AccordionBuilder instance to configurate component.

Methods

Name Description
AllowCollapseAll(bool)

Configurates AllowCollapseAll. Sets a value that determines whether users should be allowed to collapse all the items.

AllowExpandMany(bool)

Configurates AllowExpandMany. Sets a value that determines whether users should be allowed to expand multiple panes at a time.

AutoSwitch(bool)

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

IsAnimated(bool)

Configurates IsAnimated. Sets a value that determines whether collapsing or expanding panes should be animated.

OnClientSelectedIndexChanged(string)

Configurates the OnClientSelectedIndexChanged client event. Occurs when the value of the selectedIndex property changes.

Panes(Action<ListItemFactory<AccordionPane, AccordionPaneBuilder>>)

Sets the Panes property.

SelectedIndex(int)

Configurates SelectedIndex. Sets the index of the currently selected (active) pane.

ShowIcons(bool)

Configurates ShowIcons. Sets a value that determines whether shows collapsed/expanded icons in the pane headers.

Tabs(Action<ListItemFactory<AccordionPane, AccordionPaneBuilder>>)

Sets the Panes property.

Extension Methods