Class TabTabItemBuilder
Inheritance
System.Object
TabTabItemBuilder
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Assembly: Syncfusion.EJ2.dll
Syntax
public class TabTabItemBuilder : ControlBuilder
Constructors
TabTabItemBuilder()
Declaration
public TabTabItemBuilder()
TabTabItemBuilder(List<TabTabItem>)
Declaration
public TabTabItemBuilder(List<TabTabItem> collection)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<TabTabItem> |
collection |
|
Methods
Add()
Declaration
Content(String)
Specifies the content of Tab item, that is displayed when concern item header is selected.
Declaration
public TabTabItemBuilder Content(string content)
Parameters
Type |
Name |
Description |
System.String |
content |
|
Returns
ContentTemplate(Action<Object>)
Declaration
public TabTabItemBuilder ContentTemplate(Action<object> template)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
template |
|
Returns
ContentTemplate(Func<Object, Object>)
Declaration
public TabTabItemBuilder ContentTemplate(Func<object, object> template)
Parameters
Type |
Name |
Description |
System.Func<System.Object, System.Object> |
template |
|
Returns
CssClass(String)
Sets the CSS classes to the Tab item to customize its styles.
Declaration
public TabTabItemBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
|
Returns
Disabled(Boolean)
Sets true to disable user interactions of the Tab item.
Declaration
public TabTabItemBuilder Disabled(bool disabled)
Parameters
Type |
Name |
Description |
System.Boolean |
disabled |
|
Returns
The object used for configuring the Tab item header properties.
Declaration
public TabTabItemBuilder Header(TabHeader header)
Parameters
Returns
Declaration
public TabTabItemBuilder Header(Action<TabHeaderBuilder> header)
Parameters
Returns
Specifies the header text of Tab item.
Declaration
public TabTabItemBuilder HeaderTemplate(string headerTemplate)
Parameters
Type |
Name |
Description |
System.String |
headerTemplate |
|
Returns
Id(String)
Sets unique ID to Tab item.
Declaration
public TabTabItemBuilder Id(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
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 TabTabItemBuilder TabIndex(double tabIndex)
Parameters
Type |
Name |
Description |
System.Double |
tabIndex |
|
Returns
Visible(Boolean)
Sets false to hide the Tab item.
Declaration
public TabTabItemBuilder Visible(bool visible)
Parameters
Type |
Name |
Description |
System.Boolean |
visible |
|
Returns