menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TabItemBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class TabItemBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    TabItemBuilder
    Namespace: Syncfusion.EJ2.Navigations
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TabItemBuilder : ControlBuilder

    Constructors

    TabItemBuilder()

    Declaration
    public TabItemBuilder()

    TabItemBuilder(List<TabItem>)

    Declaration
    public TabItemBuilder(List<TabItem> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<TabItem> collection

    Methods

    Add()

    Declaration
    public void Add()

    Content(String)

    Specifies the content of Tab item, that is displayed when concern item header is selected.

    Declaration
    public TabItemBuilder Content(string content)
    Parameters
    Type Name Description
    System.String content
    Returns
    Type
    TabItemBuilder

    ContentTemplate(Action<Object>)

    Declaration
    public TabItemBuilder ContentTemplate(Action<object> template)
    Parameters
    Type Name Description
    System.Action<System.Object> template
    Returns
    Type
    TabItemBuilder

    ContentTemplate(Func<Object, Object>)

    Declaration
    public TabItemBuilder ContentTemplate(Func<object, object> template)
    Parameters
    Type Name Description
    System.Func<System.Object, System.Object> template
    Returns
    Type
    TabItemBuilder

    CssClass(String)

    Sets the CSS classes to the Tab item to customize its styles.

    Declaration
    public TabItemBuilder CssClass(string cssClass)
    Parameters
    Type Name Description
    System.String cssClass
    Returns
    Type
    TabItemBuilder

    Disabled(Boolean)

    Sets true to disable user interactions of the Tab item.

    Declaration
    public TabItemBuilder Disabled(bool disabled)
    Parameters
    Type Name Description
    System.Boolean disabled
    Returns
    Type
    TabItemBuilder

    Header(TabHeader)

    The object used for configuring the Tab item header properties.

    Declaration
    public TabItemBuilder Header(TabHeader header)
    Parameters
    Type Name Description
    TabHeader header
    Returns
    Type
    TabItemBuilder

    Header(Action<TabHeaderBuilder>)

    Declaration
    public TabItemBuilder Header(Action<TabHeaderBuilder> header)
    Parameters
    Type Name Description
    System.Action<TabHeaderBuilder> header
    Returns
    Type
    TabItemBuilder

    HeaderTemplate(String)

    Specifies the header text of Tab item.

    Declaration
    public TabItemBuilder HeaderTemplate(string headerTemplate)
    Parameters
    Type Name Description
    System.String headerTemplate
    Returns
    Type
    TabItemBuilder

    Id(String)

    Sets unique ID to Tab item.

    Declaration
    public TabItemBuilder Id(string id)
    Parameters
    Type Name Description
    System.String id
    Returns
    Type
    TabItemBuilder

    TabIndex(Double)

    Specifies the tab order of the Tabs items. When positive values assigned, it allows to switch focus to the next/previous tabs items with Tab/ShiftTab keys. By default, user can able to switch between items only via arrow keys. If the value is set to 0 for all tabs items, then tab switches based on element order.

    Declaration
    public TabItemBuilder TabIndex(double tabIndex)
    Parameters
    Type Name Description
    System.Double tabIndex
    Returns
    Type
    TabItemBuilder

    Visible(Boolean)

    Sets false to hide the Tab item.

    Declaration
    public TabItemBuilder Visible(bool visible)
    Parameters
    Type Name Description
    System.Boolean visible
    Returns
    Type
    TabItemBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved