Class BlockActionItemModel
Specifies the individual items in the SfBlockEditor component.
Inherited Members
Namespace: Syncfusion.Blazor.BlockEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class BlockActionItemModel
Constructors
BlockActionItemModel()
Declaration
public BlockActionItemModel()
Properties
Disabled
Gets or sets a value indicating whether the action item is disabled in the SfBlockEditor.
Declaration
public bool Disabled { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Remarks
Disabled action items will not respond to user interaction.
ID
Gets or sets the unique identifier of the action item in SfBlockEditor.
Declaration
public string ID { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string value that uniquely identifies the action item. |
Remarks
This ID can be used to reference the item programmatically.
IconCss
Gets or sets the CSS class for the icon associated with the action item in the SfBlockEditor.
Declaration
public string IconCss { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string containing one or more CSS class names. |
Remarks
This can be used to display an icon next to the action label using font or image icons.
Label
Gets or sets the display label of the action item used in the SfBlockEditor.
Declaration
public string Label { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string representing the label text of the action. |
Remarks
This label appears as the textual representation of the menu item in the action menu.
Shortcut
Gets or sets the shortcut for the action item in the SfBlockEditor.
Declaration
public string Shortcut { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string that specifies the keyboard shortcut for the action item. |
Remarks
This allows users to trigger the action using a specific key combination.
Tooltip
Gets or sets the tooltip text for the action item in the SfBlockEditor.
Declaration
public string Tooltip { get; set; }
Property Value
| Type | Description |
|---|---|
| string | A string that is shown as a tooltip when hovering over the item. |
Remarks
Tooltips help provide context or descriptions for the menu items.