Skip to main content

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

TdxBarManager.ButtonArrowWidth Property

Specifies the width of dropdown buttons which belong to the current bar manager’s buttons in pixels.

#Declaration

Delphi
property ButtonArrowWidth: Integer read; write; default dxBarDefaultButtonArrowWidth;

#Property Value

Type Default
Integer dxBarDefaultButtonArrowWidth

#Remarks

A user can change the default style of a button via the ButtonStyle property. If the bsDropDown or bsCheckedDropDown value is set to this property, a dropdown button is drawn on the right of the button. Use the ButtonArrowWidth property to get or set the width of the dropdown buttons which belong to the buttons of the TdxBarButton type.

In the following table a dropdown button with different values for the ButtonArrowWidth property is displayed.

Value Sample
10
20

A value assigned to the ButtonArrowWidth property must be more than 2. If the current bar manager’s buttons are enlarged (the ImageOptions.LargeIcons property is set to True), the value of ButtonArrowWidth property is doubled automatically.

When painting, the width of dropdown buttons can be increased or decreased depending upon the bar manager’s style. Get the actual width of dropdown buttons using a painter’s RealButtonArrowWidth class function.

The default value of the ButtonArrowWidth property is specified by the dxBarDefaultButtonArrowWidth constant.

See Also