Class RibbonTabBuilder
Class for ApplicationTabBuilder
Inheritance
System.Object
RibbonTabBuilder
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()
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class RibbonTabBuilder
Constructors
RibbonTabBuilder()
Initializes a new instance of the RibbonTabBuilder class.
Declaration
public RibbonTabBuilder()
RibbonTabBuilder(RibbonTab, Ribbon)
Initializes a new instance of the RibbonTabBuilder class.
Declaration
public RibbonTabBuilder(RibbonTab tab, Ribbon Ribbon)
Parameters
Type | Name | Description |
---|---|---|
RibbonTab | tab | It accepts tab object. |
Ribbon | Ribbon | It accepts Ribbon. |
RibbonTabBuilder(Ribbon)
Initializes a new instance of the RibbonTabBuilder class.
Declaration
public RibbonTabBuilder(Ribbon Ribbon)
Parameters
Type | Name | Description |
---|---|---|
Ribbon | Ribbon | It accepts Ribbon. |
RibbonTabBuilder(Ribbon, ContextualTab)
Initializes a new instance of the RibbonTabBuilder class.
Declaration
public RibbonTabBuilder(Ribbon Ribbon, ContextualTab contextualTab)
Parameters
Type | Name | Description |
---|---|---|
Ribbon | Ribbon | It accepts Ribbon. |
ContextualTab | contextualTab | It accepts ContextualTab. |
Methods
Add()
It adds current ribbon tab
Declaration
public void Add()
Id(String)
Specifies the ID for each tab’s content panel.
Declaration
public RibbonTabBuilder Id(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts id for tab. |
Returns
Type | Description |
---|---|
RibbonTabBuilder | RibbonTabBuilder |
TabGroups(Action<TabGroupBuilder>)
Specifies single group or multiple groups and its contents to each tab in the ribbon control.
Declaration
public RibbonTabBuilder TabGroups(Action<TabGroupBuilder> tabgroups)
Parameters
Type | Name | Description |
---|---|---|
System.Action<TabGroupBuilder> | tabgroups | It accepts groups for tab |
Returns
Type | Description |
---|---|
RibbonTabBuilder |
Text(String)
Specifies the text of the tab in the ribbon control.
Declaration
public RibbonTabBuilder Text(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | It accepts text for tab. |
Returns
Type | Description |
---|---|
RibbonTabBuilder |