Class BackstageContentBuilder
Class for backstage content builder
Inheritance
Inherited Members
Namespace: Syncfusion.JavaScript
Assembly: Syncfusion.EJ.dll
Syntax
public class BackstageContentBuilder
Constructors
BackstageContentBuilder(BackstageSettings)
Initializes a new instance of the BackstageContentBuilder class.
Declaration
public BackstageContentBuilder(BackstageSettings backstageSettings)
Parameters
Type | Name | Description |
---|---|---|
BackstageSettings | backstageSettings | The backstage settings. |
Methods
Add()
It adds current backstage page
Declaration
public void Add()
ContentID(String)
Specifies the id of HTML elements like div, ul, etc., as ribbon backstage page’s tab content.
Declaration
public BackstageContentBuilder ContentID(string contentID)
Parameters
Type | Name | Description |
---|---|---|
System.String | contentID | The content identifier. |
Returns
Type | Description |
---|---|
BackstageContentBuilder | The method returns an string |
EnableSeparator(Boolean)
Specifies the separator between backstage page’s tab and button elements.with boolean argument.
Declaration
public BackstageContentBuilder EnableSeparator(bool enableSeparator)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | enableSeparator | If set to |
Returns
Type | Description |
---|---|
BackstageContentBuilder |
Id(String)
Specifies the id for ribbon backstage page’s tab and button elements.
Declaration
public BackstageContentBuilder Id(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | he identifier. |
Returns
Type | Description |
---|---|
BackstageContentBuilder |
ItemType(ItemType)
Specifies the type for ribbon backstage page’s contents. Set “ApplicationTabType.Backstage” to render the tab or “ItemType.Button” to render the button.
Declaration
public BackstageContentBuilder ItemType(ItemType itemType)
Parameters
Type | Name | Description |
---|---|---|
ItemType | itemType | Type of the item. |
Returns
Type | Description |
---|---|
BackstageContentBuilder |
Text(String)
Specifies the text for ribbon backstage page’s tab header and button elements.
Declaration
public BackstageContentBuilder Text(string text)
Parameters
Type | Name | Description |
---|---|---|
System.String | text | The text. |
Returns
Type | Description |
---|---|
BackstageContentBuilder |