Class ActionMenuItemSelectEventArgs
Represents the event arguments for selected block action item in the SfBlockEditor component.
Inherited Members
Namespace: Syncfusion.Blazor.BlockEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ActionMenuItemSelectEventArgs
Constructors
ActionMenuItemSelectEventArgs()
Declaration
public ActionMenuItemSelectEventArgs()
Properties
Cancel
Gets or sets a value indicating whether to cancel the item select action in the SfBlockEditor.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Remarks
Set this to true to prevent the default action associated with the selected item.
IsInteracted
Gets or sets a value indicating whether the item was directly interacted with by the user in the SfBlockEditor.
Declaration
public bool IsInteracted { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
|
Remarks
This can help distinguish between user interaction and programmatic triggering of the item.
Item
Gets or sets the block action item that was selected in the SfBlockEditor.
Declaration
public BlockActionItemModel Item { get; set; }
Property Value
| Type | Description |
|---|---|
| BlockActionItemModel | A BlockActionItemModel representing the selected action item. |
Remarks
This property provides access to the action item that the user selected within the block action menu.