Back to Devexpress

TdxBarCustomButton.ButtonStyle Property

vcl-dxbar-dot-tdxbarcustombutton.md

latest1.2 KB
Original Source

TdxBarCustomButton.ButtonStyle Property

Determines the way the button appears on screen and specifies the button’s behavior.

Declaration

delphi
property ButtonStyle: TdxBarButtonStyle read; write; default bsDefault;

Property Value

TypeDefault
TdxBarButtonStylebsDefault

Remarks

Options include:

ValueDescription
bsDefaultA standard button.
bsCheckedA toggle button. If clicked in menus, it appears with a check mark.
bsDropDownA dropdown button (a button with a dropdown menu).
bsCheckedDropDownA toggle button with a dropdown menu. If clicked in menus, it appears with a check mark.

To change the appearance of toggle buttons or display a check mark on them, use the Down property.

The default value of the ButtonStyle property is bsDefault.

See Also

How to Add Custom Items to a Toolbar's Popup Menu

TdxBarCustomButton Class

TdxBarCustomButton Members

dxBar Unit