Skip to main content
Bar

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BarButtonItem.AllowDrawArrowInMenu Property

Gets or sets whether the drop-down BarButtonItem should display an arrow in menus.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(true)]
[DXCategory("Appearance")]
public bool AllowDrawArrowInMenu { get; set; }

#Property Value

Type Default Description
Boolean true

true if the drop-down BarButtonItem should display an arrow in menus; otherwise, false.

#Remarks

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.

BarButtonItem.AllowDrawArrowInMenu

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).

BarButtonItem.AllowDrawArrowInMenu2

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