windowsforms-devexpress-dot-xtrabars-dot-barbuttonitem-ad2c40e9.md
Gets or sets whether the drop-down BarButtonItem should display an arrow in menus.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[DefaultValue(true)]
[DXCategory("Appearance")]
public bool AllowDrawArrowInMenu { get; set; }
<DefaultValue(True)>
<DXCategory("Appearance")>
Public Property AllowDrawArrowInMenu As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | true |
true if the drop-down BarButtonItem should display an arrow in menus; otherwise, false.
|
If the BarButtonItem displayed within a menu, itself contains a drop-down menu (see the BarButtonItem.DropDownControl property), you can manually specify whether the drop-down arrow for this BarButtonItem should be displayed. The figure below illustrates the drop-down button with and without an arrow.
The AllowDrawArrowInMenu property has effect only for BarButtonItems, whose BarButtonItem.ActAsDropDown property equals true. Otherwise, the drop-down arrow is always visible (see the image below).
If the drop-down BarButtonItem is not displayed within a menu, you can specify the visibility of its arrow via the BarButtonItem.AllowDrawArrow property.
See Also