Skip to main content

DropDownButton.ActAsDropDown Property

Gets or sets whether a click on the button opens the dropdown control. This option is in effect when the DropDownButton.ShowArrowButton property is set to false.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
public bool ActAsDropDown { get; set; }

Property Value

Type Default Description
Boolean true

true if a click on the button opens the dropdown control; otherwise, false.

Remarks

This option is in effect when the DropDownButton.ShowArrowButton property is set to false.

In this instance, if the ActAsDropDown property is set to true, clicking the button invokes the dropdown associated with the button via the DropDownButton.DropDownControl property. If the ActAsDropDown property is set to false, the DropDownButton acts as a regular button. Clicking it will not invoke the dropdown control.

See Also