ComponentOne ASP.NET MVC Controls
Tab Class
Members  Example 

C1.Web.Mvc Namespace : Tab Class
Represents a tab within a TabPanel control.
Syntax
'Declaration
 
Public Class Tab 
public class Tab 
Remarks
This class helps in defining the tabs that are displayed in the TabPanel control. The class members helps in defining the following attributes for the tab:
1. The Header property determines the HTML element used to render the tab header. And the pane property determines the HTML element used to render the associated content for the tab.
2. The visibility of the tab can be set using the isVisible property.
3. The isDisabled property is set to make the tab accesible/inacessible for the user.
Example
@(Html.C1().TabPanel("#tabPanel1")
    .Tabs(t =>
    {
        t.Add(t1 => t1.Header("#header1").Pane("#tab1"));
        t.Add(t2 => t2.Header("#header2").Pane("#tab2"));
        t.Add(t3 => t3.Header("#header3").Pane("#tab3"));
    })
    .AutoSwitch(true)
    .IsAnimated(true)
    .SelectedIndex(1))
Inheritance Hierarchy

System.Object
   C1.Web.Mvc.Tab

See Also

Reference

Tab Members
C1.Web.Mvc Namespace