ASP.NET MVC

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class BackstageContentBuilder - ASP.NETMVC API Reference | Syncfusion

    Show / Hide Table of Contents

    Class BackstageContentBuilder

    Class for backstage content builder

    Inheritance
    System.Object
    BackstageContentBuilder
    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 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 , then ; otherwise, .

    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved