[]
        
(Showing Draft Content)

C1.Web.Mvc.Fluent.TabPanelBuilder

TabPanelBuilder Class

Defines a builder to configurate TabPanel.

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

Constructors

Name Description
TabPanelBuilder(TabPanel)

Creates one TabPanelBuilder instance to configurate component.

Methods

Name Description
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.

IsAnimated(bool)

Configurates IsAnimated. Sets a value that determines whether tab changes should be animated with a fade-in effect.

OnClientSelectedIndexChanged(string)

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

SelectedIndex(int)

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

Tabs(Action<ListItemFactory<Tab, TabBuilder>>)

Sets the Tabs property.

Extension Methods