Class GalleryItem
Represents an item in a gallery within the Ribbon.
Inherited Members
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 |
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 |
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 |
|
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 |
Remarks
This property allows you to apply a CSS class to icons or images associated with the gallery item, enabling custom styling.