Class TransformItemSelectEventArgs
Provides information about the transform item selection event in the SfBlockEditor component.
Inherited Members
Namespace: Syncfusion.Blazor.BlockEditor
Assembly: Syncfusion.Blazor.BlockEditor.dll
Syntax
public class TransformItemSelectEventArgs
Remarks
This event arguments class is used when a user selects a transform item from the transform dropdown menu in the inline toolbar. It provides access to the selected item and allows cancellation of the transformation action.
Constructors
TransformItemSelectEventArgs()
Declaration
public TransformItemSelectEventArgs()
Properties
Cancel
Gets or sets a value indicating whether the transform action should be canceled.
Declaration
public bool Cancel { get; set; }
Property Value
| Type | Description |
|---|---|
| bool | A bool indicating whether to prevent the default transformation action. The default value is false. |
Remarks
Set this property to true to suppress the default block transformation behavior when a transform item is selected. This is useful for implementing custom transformation logic or validation before applying the transformation.
Command
Gets or sets the transform item model that was selected.
Declaration
public TransformItemModel Command { get; set; }
Property Value
| Type | Description |
|---|---|
| TransformItemModel | A TransformItemModel instance representing the selected transform item. This object contains the block type, label, icon, tooltip, and other metadata for the selected transformation option. |