menu

ASP.NET MVC - EJ2

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

    Show / Hide Table of Contents

    Class TabItem

    Inheritance
    System.Object
    Syncfusion.EJ2.EJTagHelper
    TabItem
    Namespace: Syncfusion.EJ2.Navigations
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class TabItem : EJTagHelper

    Constructors

    TabItem()

    Declaration
    public TabItem()

    Properties

    Content

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

    Declaration
    public string Content { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    ContentTemplate

    To get or set value for ContentTemplate.

    Declaration
    public MvcTemplate<object> ContentTemplate { get; set; }
    Property Value
    Type
    Syncfusion.EJ2.MvcTemplate<System.Object>

    CssClass

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

    Declaration
    public string CssClass { get; set; }
    Property Value
    Type Description
    System.String

    The default value is ""

    Disabled

    Sets true to disable user interactions of the Tab item.

    Declaration
    public bool Disabled { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is false

    Header

    The object used for configuring the Tab item header properties.

    Declaration
    public TabHeader Header { get; set; }
    Property Value
    Type Description
    TabHeader

    The default value is null

    HeaderTemplate

    Specifies the header text of Tab item.

    Declaration
    public string HeaderTemplate { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Id

    Sets unique ID to Tab item.

    Declaration
    public override string Id { get; set; }
    Property Value
    Type Description
    System.String

    The default value is null

    Overrides
    Syncfusion.EJ2.EJTagHelper.Id

    TabIndex

    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 double TabIndex { get; set; }
    Property Value
    Type Description
    System.Double

    The default value is -1

    Visible

    Sets false to hide the Tab item.

    Declaration
    public bool Visible { get; set; }
    Property Value
    Type Description
    System.Boolean

    The default value is true

    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved