Skip to main content
A newer version of this page is available. .
Tab

RibbonColorButtonItem.DropDownMode Property

Gets or sets a value that specifies whether the item‘s drop-down menu should only be invoked by using a specific drop-down button.

Namespace: DevExpress.Web

Assembly: DevExpress.Web.v19.1.dll

Declaration

[DefaultValue(true)]
public virtual bool DropDownMode { get; set; }

Property Value

Type Default Description
Boolean **true**

true if a drop-down menu can be invoked by using the drop-down button only; false if a drop-down menu can be invoked by using any area of the item.

Remarks

Typically, a drop-down menu is invoked by clicking a drop-down button that consists of the item’s pop-out image. A mouse click to another part of an item (e.g., an item image) won’t invoke the menu. In this case, you can use the ASPxClientRibbon.CommandExecuted event handler to implement custom functionality.

Set the DropDownMode property to false to invoke a drop-down menu by clicking any area of the parent ribbon item.

Use the RibbonImages.PopOut property to specify the drop down button image.

See Also