alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class GalleryItem

    Represents an item in a gallery within the Ribbon.

    Inheritance
    object
    GalleryItem
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Ribbon
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class GalleryItem

    Constructors

    GalleryItem()

    Declaration
    public GalleryItem()

    Properties

    Content

    Gets or sets the content for the gallery item.

    Declaration
    [Parameter]
    public string Content { get; set; }
    Property Value
    Type Description
    string

    A string value representing the content of the gallery item. The default value is String.Empty.

    Remarks

    This property defines the main content or label displayed for the gallery item.

    CssClass

    Gets or sets the CSS class to customize the gallery items.

    Declaration
    [Parameter]
    public string CssClass { get; set; }
    Property Value
    Type Description
    string

    A string value representing the CSS class applied to the gallery items. The default value is String.Empty.

    Remarks

    This property allows you to apply custom CSS styles to the gallery items, enabling further customization of their appearance.

    Disabled

    Gets or sets whether the item is disabled or not.

    Declaration
    [Parameter]
    public bool Disabled { get; set; }
    Property Value
    Type Description
    bool

    true if the gallery item is disabled; otherwise, false. The default value is false.

    Remarks

    This property determines whether the gallery item is interactive or not. A disabled item will not respond to user interactions.

    IconCss

    Gets or sets the CSS class for the icons or images for the gallery item.

    Declaration
    [Parameter]
    public string IconCss { get; set; }
    Property Value
    Type Description
    string

    A string value specifying the CSS class for the icons or images. The default value is String.Empty.

    Remarks

    This property allows you to apply a CSS class to icons or images associated with the gallery item, enabling custom styling.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved