Class RibbonGalleryItemBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
RibbonGalleryItemBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class RibbonGalleryItemBuilder : ControlBuilder
Constructors
RibbonGalleryItemBuilder()
Declaration
public RibbonGalleryItemBuilder()
RibbonGalleryItemBuilder(List<RibbonGalleryItem>)
Declaration
public RibbonGalleryItemBuilder(List<RibbonGalleryItem> collection)
Parameters
Methods
Add()
Declaration
Content(String)
Defines the content for the gallery item.
Declaration
public RibbonGalleryItemBuilder Content(string content)
Parameters
Type |
Name |
Description |
System.String |
content |
|
Returns
ContentTemplate(Action<Object>)
Declaration
public RibbonGalleryItemBuilder ContentTemplate(Action<object> template)
Parameters
Type |
Name |
Description |
System.Action<System.Object> |
template |
|
Returns
ContentTemplate(Func<Object, Object>)
Declaration
public RibbonGalleryItemBuilder ContentTemplate(Func<object, object> template)
Parameters
Type |
Name |
Description |
System.Func<System.Object, System.Object> |
template |
|
Returns
CssClass(String)
Defines the CSS class to customize the gallery items.
Declaration
public RibbonGalleryItemBuilder CssClass(string cssClass)
Parameters
Type |
Name |
Description |
System.String |
cssClass |
|
Returns
Disabled(Boolean)
Defines whether the item is disabled or not.
Declaration
public RibbonGalleryItemBuilder Disabled(bool disabled)
Parameters
Type |
Name |
Description |
System.Boolean |
disabled |
|
Returns
HtmlAttributes(Object)
Specifies additional HTML attributes to be applied to the Ribbon Gallery item.
Declaration
public RibbonGalleryItemBuilder HtmlAttributes(object htmlAttributes)
Parameters
Type |
Name |
Description |
System.Object |
htmlAttributes |
|
Returns
IconCss(String)
Defines the image or icons for the gallery item.
Declaration
public RibbonGalleryItemBuilder IconCss(string iconCss)
Parameters
Type |
Name |
Description |
System.String |
iconCss |
|
Returns