Class TabGroupBuilder
Class for TabGroupBuilder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class TabGroupBuilder
Constructors
TabGroupBuilder(RibbonTab)
Initializes a new instance of the TabGroupBuilder class.
Declaration
public TabGroupBuilder(RibbonTab tab)
Parameters
| Type | Name | Description |
|---|---|---|
| RibbonTab | tab | The ribbon tab. |
Methods
Add()
Specifies to add the tabgroup.
Declaration
public void Add()
AlignType(RibbonAlignType)
Specifies the alignment of controls in the groups in ‘row’ type or ‘column’ type. Value for row type is “ej.Ribbon.alignType.rows†and for column type is “ej.Ribbon.alignType.columnsâ€.
Declaration
public TabGroupBuilder AlignType(RibbonAlignType alignType)
Parameters
| Type | Name | Description |
|---|---|---|
| RibbonAlignType | alignType | The alignType |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
Content(Action<TabContentBuilder>)
Specifies the Syncfusion button, split button, dropdown list, toggle button, gallery, custom controls to the groups in the ribbon control.
Declaration
public TabGroupBuilder Content(Action<TabContentBuilder> content)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<TabContentBuilder> | content | The content |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
ContentID(String)
Specifies the ID of custom items to be placed in the groups.
Declaration
public TabGroupBuilder ContentID(string contentId)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | contentId | The contentId |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
CustomContent(String)
Specifies the HTML contents to place into the groups.
Declaration
public TabGroupBuilder CustomContent(string customContent)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | customContent | The customContent |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
EnableGroupExpander(Boolean)
Specifies the group expander for groups in the ribbon control. Set “true†to enable the group expander.
Declaration
public TabGroupBuilder EnableGroupExpander(bool groupexpander)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Boolean | groupexpander | If set to |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
GroupExpanderSettings(Action<GroupExpanderBuilder>)
Sets custom setting to the groups in the ribbon control.
Declaration
public TabGroupBuilder GroupExpanderSettings(Action<GroupExpanderBuilder> groupexpandersettings)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Action<GroupExpanderBuilder> | groupexpandersettings | The groupexpandersettings |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
Id(String)
Specifies the id for button, split button, toggle button controls in the sub groups.
Declaration
public TabGroupBuilder Id(string id)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | id | The id |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
Text(String)
Specifies the text for button, split button, toggle button controls in the sub groups.
Declaration
public TabGroupBuilder Text(string text)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | text | The text |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |
Type(String)
Specifies the type as “RibbonButtonType.Button†or “RibbonButtonType.SplitButton†or “RibbonButtonType.dropDownList†or “RibbonButtonType.toggleButton†to render button, split, dropdown, toggle button controls.
Declaration
public TabGroupBuilder Type(string type)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | type | The type |
Returns
| Type | Description |
|---|---|
| TabGroupBuilder | TabGroupBuilder |