menu

ASP.NET MVC

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class ContentGroupBuilder

    Show / Hide Table of Contents

    Class ContentGroupBuilder

    Class for ContentGroupBuilder

    Inheritance
    System.Object
    ContentGroupBuilder
    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 ContentGroupBuilder

    Constructors

    ContentGroupBuilder(TabContent)

    Initializes a new instance of the ContentGroupBuilder class.

    Declaration
    public ContentGroupBuilder(TabContent tabcontent)
    Parameters
    Type Name Description
    TabContent tabcontent

    The tabcontent.

    Methods

    Add()

    Declaration
    public void Add()

    ButtonSettings(ButtonProperties)

    Specifies the Syncfusion button members, events by using this buttonSettings.

    Declaration
    public ContentGroupBuilder ButtonSettings(ButtonProperties buttonSettings)
    Parameters
    Type Name Description
    ButtonProperties buttonSettings

    The button settings.

    Returns
    Type Description
    ContentGroupBuilder

    Columns(Int32)

    It is used to set the count of gallery contents in a row.

    Declaration
    public ContentGroupBuilder Columns(int columns)
    Parameters
    Type Name Description
    System.Int32 columns

    The columns.

    Returns
    Type Description
    ContentGroupBuilder

    ContentID(String)

    Specifies the custom items such as div, table, controls as custom controls with the contentId type in the groups.

    Declaration
    public ContentGroupBuilder ContentID(string contentId)
    Parameters
    Type Name Description
    System.String contentId

    The content identifier.

    Returns
    Type Description
    ContentGroupBuilder

    CssClass(String)

    Specifies the CSS class property to apply styles to the button, split, dropdown controls in the groups.

    Declaration
    public ContentGroupBuilder CssClass(string cssClass)
    Parameters
    Type Name Description
    System.String cssClass

    The CSS class.

    Returns
    Type Description
    ContentGroupBuilder

    CustomGalleryItems(Action<CustomGalleryItemBuilder>)

    Declaration
    public ContentGroupBuilder CustomGalleryItems(Action<CustomGalleryItemBuilder> customItems)
    Parameters
    Type Name Description
    System.Action<CustomGalleryItemBuilder> customItems
    Returns
    Type Description
    ContentGroupBuilder

    CustomToolTip(CustomToolTip)

    Provides custom tooltip for button, split button, dropdown list, toggle button, custom controls in the sub groups. Text and HTML support are also provided for title and content.

    Declaration
    public ContentGroupBuilder CustomToolTip(CustomToolTip customToolTip)
    Parameters
    Type Name Description
    CustomToolTip customToolTip

    The custom tool tip.

    Returns
    Type Description
    ContentGroupBuilder

    DropdownSettings(DropDownListProperties)

    Specifies the Syncfusion dropdown list members, events by using this dropdownSettings.

    Declaration
    public ContentGroupBuilder DropdownSettings(DropDownListProperties dropdownProperties)
    Parameters
    Type Name Description
    DropDownListProperties dropdownProperties

    The dropdown properties.

    Returns
    Type Description
    ContentGroupBuilder

    EnableSeparator(Boolean)

    Specifies the separator to the control that is in row type group. The separator separates the control from the next control in the group. Set “true” to enable the separator.with boolean argument.

    Declaration
    public ContentGroupBuilder EnableSeparator(bool enableSeparator)
    Parameters
    Type Name Description
    System.Boolean enableSeparator

    If set to , then ; otherwise, .

    Returns
    Type Description
    ContentGroupBuilder

    ExpandedColumns(Int32)

    Declaration
    public ContentGroupBuilder ExpandedColumns(int expandedColumns)
    Parameters
    Type Name Description
    System.Int32 expandedColumns
    Returns
    Type Description
    ContentGroupBuilder

    GalleryItems(Action<GalleryItemBuilder>)

    Defines each gallery content.

    Declaration
    public ContentGroupBuilder GalleryItems(Action<GalleryItemBuilder> galleryItems)
    Parameters
    Type Name Description
    System.Action<GalleryItemBuilder> galleryItems

    The gallery items.

    Returns
    Type Description
    ContentGroupBuilder

    Id(String)

    Specifies the Id for button, split button, dropdown list, toggle button, gallery, custom controls in the sub groups.

    Declaration
    public ContentGroupBuilder Id(string id)
    Parameters
    Type Name Description
    System.String id

    The identifier.

    Returns
    Type Description
    ContentGroupBuilder

    IsBig(Boolean)

    Specifies the size for button, split button controls. Set “true” for big size and “false” for small size.with boolean argument.

    Declaration
    public ContentGroupBuilder IsBig(bool isbig)
    Parameters
    Type Name Description
    System.Boolean isbig

    If set to , then ; otherwise, .

    Returns
    Type Description
    ContentGroupBuilder

    IsMobileOnly(Boolean)

    Specifies the Mobilecontent to the control that is in the group. Set “true” to enable the isMobileOnly.with boolean argument.

    Declaration
    public ContentGroupBuilder IsMobileOnly(bool isMobileOnly)
    Parameters
    Type Name Description
    System.Boolean isMobileOnly

    If set to , then ; otherwise, .

    Returns
    Type Description
    ContentGroupBuilder

    ItemHeight(String)

    Sets the height of each gallery content.

    Declaration
    public ContentGroupBuilder ItemHeight(string itemHeight)
    Parameters
    Type Name Description
    System.String itemHeight

    Height of the item.

    Returns
    Type Description
    ContentGroupBuilder

    ItemWidth(String)

    Declaration
    public ContentGroupBuilder ItemWidth(string itemWidth)
    Parameters
    Type Name Description
    System.String itemWidth
    Returns
    Type Description
    ContentGroupBuilder

    QuickAccessMode(QuickAccessMode)

    To add,show and hide controls in Quick Access toolbar.

    Declaration
    public ContentGroupBuilder QuickAccessMode(QuickAccessMode quickAccess)
    Parameters
    Type Name Description
    QuickAccessMode quickAccess

    The quick access.

    Returns
    Type Description
    ContentGroupBuilder

    SplitButtonSettings(SplitButtonProperties)

    Specifies the Syncfusion split button members, events by using this splitButtonSettings.

    Declaration
    public ContentGroupBuilder SplitButtonSettings(SplitButtonProperties splitButtonSettings)
    Parameters
    Type Name Description
    SplitButtonProperties splitButtonSettings

    The split button settings.

    Returns
    Type Description
    ContentGroupBuilder

    Text(String)

    Specifies the text for button, split button, toggle button controls in the sub groups.

    Declaration
    public ContentGroupBuilder Text(string text)
    Parameters
    Type Name Description
    System.String text

    The text.

    Returns
    Type Description
    ContentGroupBuilder

    ToggleButtonSettings(ToggleButtonProperties)

    Specifies the Syncfusion toggle button members, events by using toggleButtonSettings.

    Declaration
    public ContentGroupBuilder ToggleButtonSettings(ToggleButtonProperties toggleButtonSettings)
    Parameters
    Type Name Description
    ToggleButtonProperties toggleButtonSettings

    The toggle button settings.

    Returns
    Type Description
    ContentGroupBuilder

    ToolTip(String)

    Specifies the tooltip for button, split button, dropdown list, toggle button, custom controls in the sub groups.

    Declaration
    public ContentGroupBuilder ToolTip(string toolTip)
    Parameters
    Type Name Description
    System.String toolTip

    The tool tip.

    Returns
    Type Description
    ContentGroupBuilder

    Type(RibbonButtonType)

    Specifies the type as “ej.Ribbon.type.button” or “ej.Ribbon.type.splitButton” or “ej.Ribbon.type.dropDownList” or “ej.Ribbon.type.toggleButton” or “ej.Ribbon.type.custom” or “ej.Ribbon.type.gallery” to render button, split, dropdown, toggle button, gallery, custom controls.

    Declaration
    public ContentGroupBuilder Type(RibbonButtonType type)
    Parameters
    Type Name Description
    RibbonButtonType type

    The type.

    Returns
    Type Description
    ContentGroupBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved