alexa
menu

ASP.NET Core - EJ2

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download

    Show / Hide Table of Contents

    Class CommandMenuSettingsBuilder

    Inheritance
    System.Object
    Syncfusion.EJ2.ControlBuilder
    CommandMenuSettingsBuilder
    Namespace: Syncfusion.EJ2.BlockEditor
    Assembly: Syncfusion.EJ2.dll
    Syntax
    public class CommandMenuSettingsBuilder : ControlBuilder

    Constructors

    CommandMenuSettingsBuilder()

    Declaration
    public CommandMenuSettingsBuilder()

    CommandMenuSettingsBuilder(CommandMenuSettings)

    Declaration
    public CommandMenuSettingsBuilder(CommandMenuSettings model)
    Parameters
    Type Name Description
    CommandMenuSettings model

    Methods

    Close(String)

    Specifies the event triggered when the command menu closes.

    Declaration
    public CommandMenuSettingsBuilder Close(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CommandMenuSettingsBuilder

    Commands(Object)

    Specifies an array of command item models representing the available commands in the menu. This property holds the list of commands that appear in the menu.

    Declaration
    public CommandMenuSettingsBuilder Commands(object value)
    Parameters
    Type Name Description
    System.Object value
    Returns
    Type
    CommandMenuSettingsBuilder

    EnableTooltip(Boolean)

    Specifies whether the tooltip is enabled for the command menu. If set to true, tooltips will be displayed based on the tooltip property of the command item.

    Declaration
    public CommandMenuSettingsBuilder EnableTooltip(bool value)
    Parameters
    Type Name Description
    System.Boolean value
    Returns
    Type
    CommandMenuSettingsBuilder

    ItemClicked(String)

    Specifies the event triggered when a command item is clicked. This event can be used to perform actions based on user interaction.

    Declaration
    public CommandMenuSettingsBuilder ItemClicked(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CommandMenuSettingsBuilder

    Open(String)

    Specifies the event triggered when the command menu opens.

    Declaration
    public CommandMenuSettingsBuilder Open(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CommandMenuSettingsBuilder

    PopupHeight(String)

    Specifies the height of the command menu popup. Accepts valid CSS height values such as px, %, auto, etc.

    Declaration
    public CommandMenuSettingsBuilder PopupHeight(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CommandMenuSettingsBuilder

    PopupWidth(String)

    Specifies the width of the command menu popup. Accepts valid CSS width values such as px, %, auto, etc.

    Declaration
    public CommandMenuSettingsBuilder PopupWidth(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CommandMenuSettingsBuilder

    QueryFiltering(String)

    Specifies the event triggered for filtering commands based on the query input.

    Declaration
    public CommandMenuSettingsBuilder QueryFiltering(string value)
    Parameters
    Type Name Description
    System.String value
    Returns
    Type
    CommandMenuSettingsBuilder
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved