Class CommandMenuSettingsBuilder
Inheritance
System.Object
Syncfusion.EJ2.ControlBuilder
CommandMenuSettingsBuilder
Assembly: Syncfusion.EJ2.dll
Syntax
public class CommandMenuSettingsBuilder : ControlBuilder
Constructors
CommandMenuSettingsBuilder()
Declaration
public CommandMenuSettingsBuilder()
CommandMenuSettingsBuilder(CommandMenuSettings)
Declaration
public CommandMenuSettingsBuilder(CommandMenuSettings model)
Parameters
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
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
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
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
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
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
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
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