Class RibbonCollectionBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RibbonCollectionBuilder
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
ContentTemplate(Action<Object>)
Declaration
public RibbonCollectionBuilder ContentTemplate(Action<object> template)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
template |
|
Returns
ContentTemplate(Func<Object, Object>)
Declaration
public RibbonCollectionBuilder ContentTemplate(Func<object, object> template)
Parameters
Type |
Name |
Description |
System.Func<System.Object, System.Object> |
template |
|
Returns
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
Id(String)
Defines a unique identifier for the collection.
Declaration
public RibbonCollectionBuilder Id(string id)
Parameters
Type |
Name |
Description |
System.String |
id |
|
Returns
Items(Action<RibbonItemBuilder>)
Declaration
public RibbonCollectionBuilder Items(Action<RibbonItemBuilder> items)
Parameters
Returns
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