Class GroupButtonItem
Represents an item within a group button in the Ribbon control.
Inheritance
Namespace: Syncfusion.Blazor.Ribbon
Assembly: Syncfusion.Blazor.dll
Syntax
public class GroupButtonItem : Object
Constructors
GroupButtonItem()
Declaration
public GroupButtonItem()
Properties
Content
Gets or sets the content of the button.
Declaration
public string Content { get; set; }
Property Value
Type | Description |
---|---|
System.String | Accepts a string value representing the button's content. The default value is |
Remarks
This property allows you to define the text content that appears on the button.
HtmlAttributes
Gets or sets additional HTML attributes to be applied to the button.
Declaration
public Dictionary<string, object> HtmlAttributes { get; set; }
Property Value
Type |
---|
System.Collections.Generic.Dictionary<System.String, System.Object> |
IconCss
Gets or sets one or more CSS classes for the icons to be shown in the group button.
Declaration
public string IconCss { get; set; }
Property Value
Type | Description |
---|---|
System.String | A string representing one or more CSS classes that define the appearance of the icons within the button. The default value is |
Remarks
This property allows you to specify CSS classes that will be applied to the icons displayed within the group button. By assigning CSS classes, you can customize the icon's styling, such as its size, color, or any additional visual effects. You can provide multiple CSS classes separated by spaces to apply various styles.
RibbonTooltipSettings
Gets or sets the tooltip settings for the group button ribbon items.
Declaration
public RibbonTooltipSettings RibbonTooltipSettings { get; set; }
Property Value
Type | Description |
---|---|
RibbonTooltipSettings | An instance of RibbonTooltipSettings specifying the tooltip settings. The default value is |
Remarks
This property allows you to configure the tooltip settings for the group button items, including text, positioning, and appearance.
Selected
Gets or sets whether the button is selected or not.
Declaration
public bool Selected { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
|
Remarks
This property indicates whether the button is in a selected state, which can be used to apply specific styles or behaviors.