menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonCollectionBuilder - API Reference

    Show / Hide Table of Contents

    Class RibbonCollectionBuilder

    Inheritance
    System.Object
    ControlBuilder
    RibbonCollectionBuilder
    Inherited Members
    ControlBuilder.Output
    ControlBuilder.Context
    Namespace: Syncfusion.EJ2.Ribbon
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RibbonCollectionBuilder : ControlBuilder

    Constructors

    RibbonCollectionBuilder()

    Declaration
    public RibbonCollectionBuilder()

    RibbonCollectionBuilder(List<RibbonCollection>)

    Declaration
    public RibbonCollectionBuilder(List<RibbonCollection> collection)
    Parameters
    Type Name Description
    System.Collections.Generic.List<RibbonCollection> collection

    Methods

    Add()

    Declaration
    public void Add()

    ContentTemplate(Action<Object>)

    Declaration
    public RibbonCollectionBuilder ContentTemplate(Action<object> template)
    Parameters
    Type Name Description
    System.Action<System.Object> template
    Returns
    Type Description
    RibbonCollectionBuilder

    ContentTemplate(Func<Object, Object>)

    Declaration
    public RibbonCollectionBuilder ContentTemplate(Func<object, object> template)
    Parameters
    Type Name Description
    System.Func<System.Object, System.Object> template
    Returns
    Type Description
    RibbonCollectionBuilder

    CssClass(String)

    Defines one or more CSS classes to customize the appearance of collection.

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

    Id(String)

    Defines a unique identifier for the collection.

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

    Items(Action<RibbonItemBuilder>)

    Declaration
    public RibbonCollectionBuilder Items(Action<RibbonItemBuilder> items)
    Parameters
    Type Name Description
    System.Action<RibbonItemBuilder> items
    Returns
    Type Description
    RibbonCollectionBuilder

    Items(List<RibbonItem>)

    Defines the list of ribbon items.

    Declaration
    public RibbonCollectionBuilder Items(List<RibbonItem> items)
    Parameters
    Type Name Description
    System.Collections.Generic.List<RibbonItem> items
    Returns
    Type Description
    RibbonCollectionBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved