alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class TransformItemSelectEventArgs

    Provides information about the transform item selection event in the SfBlockEditor component.

    Inheritance
    object
    TransformItemSelectEventArgs
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    Remarks

    Use the Command property to access details about the selected transformation, such as the Type, Label, and IconCss.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved