menu

ASP.NET MVC - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class RibbonGalleryItemBuilder - ASP.NETMVC-EJ2 API Reference | Syncfusion

    Show / Hide Table of Contents

    Class RibbonGalleryItemBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    RibbonGalleryItemBuilder
    Namespace: Syncfusion.EJ2.Ribbon
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class RibbonGalleryItemBuilder : ControlBuilder

    Constructors

    RibbonGalleryItemBuilder()

    Declaration
    public RibbonGalleryItemBuilder()

    RibbonGalleryItemBuilder(List<RibbonGalleryItem>)

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

    Methods

    Add()

    Declaration
    public void Add()

    Content(String)

    Defines the content for the gallery item.

    Declaration
    public RibbonGalleryItemBuilder Content(string content)
    Parameters
    Type Name Description
    System.String content
    Returns
    Type
    RibbonGalleryItemBuilder

    ContentTemplate(Action<Object>)

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

    ContentTemplate(Func<Object, Object>)

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

    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
    Type
    RibbonGalleryItemBuilder

    Disabled(Boolean)

    Defines whether the item is disabled or not.

    Declaration
    public RibbonGalleryItemBuilder Disabled(bool disabled)
    Parameters
    Type Name Description
    System.Boolean disabled
    Returns
    Type
    RibbonGalleryItemBuilder

    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
    Type
    RibbonGalleryItemBuilder

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