Class ContextMenuItemSelectEventArgs
Represents the event arguments for the context menu is selected in the SfBlockEditor component.
Inherited Members
Namespace: Syncfusion.Blazor.BlockEditor
Assembly: Syncfusion.Blazor.dll
Syntax
public class ContextMenuItemSelectEventArgs
Constructors
ContextMenuItemSelectEventArgs()
Declaration
public ContextMenuItemSelectEventArgs()
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.
Item
Gets or sets the context menu item that was selected in the SfBlockEditor.
Declaration
public ContextMenuItemModel Item { get; set; }
Property Value
| Type | Description |
|---|---|
| ContextMenuItemModel | A ContextMenuItemModel representing the selected menu item. |
Remarks
This property provides access to the menu item that the user selected within the context.