alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class CommandItemSelectEventArgs

    Represents the event arguments for command item selected in the SfBlockEditor component.

    Inheritance
    object
    CommandItemSelectEventArgs
    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.dll
    Syntax
    public class CommandItemSelectEventArgs

    Constructors

    CommandItemSelectEventArgs()

    Declaration
    public CommandItemSelectEventArgs()

    Properties

    Cancel

    Gets or sets a value indicating whether the select action should be canceled in the SfBlockEditor.

    Declaration
    public bool Cancel { get; set; }
    Property Value
    Type Description
    bool

    A boolean value; true to cancel the default command execution. The default is false.

    Remarks

    Set this to true to suppress the default behavior when a command item is selected.

    Command

    Gets or sets the command item that was selected in the SfBlockEditor.

    Declaration
    public CommandItemModel Command { get; set; }
    Property Value
    Type Description
    CommandItemModel

    A CommandItemModel instance representing the selected command.

    Remarks

    This provides access to the selected command's metadata, such as label, icon, and action.

    IsInteracted

    Gets or sets a value indicating whether the command was selected by user interaction in the SfBlockEditor.

    Declaration
    public bool IsInteracted { get; set; }
    Property Value
    Type Description
    bool

    A boolean value; true if the item was interacted with by the user, false if triggered programmatically.

    Remarks

    Useful for differentiating between user-initiated selects and programmatic triggers.

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