ToolbarDropDownItemPicker.ClickMode Property

Gets or sets a value that specifies the response to clicks on the ToolbarDropDownItemPicker toolbar item.

Namespace: DevExpress.Web.ASPxHtmlEditor

Assembly: DevExpress.Web.ASPxHtmlEditor.v21.1.dll

Declaration

[DefaultValue(DropDownItemClickMode.ExecuteSelectedItemAction)]
public override DropDownItemClickMode ClickMode { get; set; }

Property Value

Type Default Description
DropDownItemClickMode

ExecuteSelectedItemAction

One of the DropDownItemClickMode enumeration values.

Available values:

Name Description
ShowDropDown

A click on a toolbar item invokes a dropdown list with the available options.

ExecuteAction

A click on a toolbar item executes a command associated with it via its CommandName property.

ExecuteSelectedItemAction

A click on a toolbar item executes an action associated with the item currently being selected within a drop-down list.

Remarks

NOTE

When the ClickMode property is set to ShowDropDown or ExecuteAction, the ToolbarDropDownItemPicker item displays an image specified by the ToolbarItemBase.Image property.

When the ClickMode property is set to ExecuteSelectedItemAction, the ToolbarItemBase.Image property is not in effect and the ToolbarDropDownItemPicker item displays an image of the currently selected item (ToolbarCustomDropDownBase.SelectedItemIndex).

See Also