Back to Devexpress

TcxCustomTabControlProperties.CloseButtonMode Property

vcl-cxpc-dot-tcxcustomtabcontrolproperties-f9ca42bd.md

latest1.6 KB
Original Source

TcxCustomTabControlProperties.CloseButtonMode Property

Specifies the Close button visibility in tabs.

Declaration

delphi
property CloseButtonMode: TcxPCButtonMode read; write; default cbmNone;

Property Value

TypeDefault
TcxPCButtonModecbmNone

Remarks

While the Options‘s pcoCloseButton setting specifies the Close button’s visibility in the navigator bar, the CloseButtonMode property provides the Close button’s display options for tabs. Refer to the TcxPCButtonMode type descriptions to learn about available options.

You can use the AllowCloseButton property of a tab or page, to control the visibility of the Close button within individual tabs.

The default value of the CloseButtonMode property is cbmNone.

See Also

TcxCustomTabControl.CloseTab

TcxCustomTabControlProperties.CloseTabWithMiddleClick

TcxTabs.Clear

TcxTabs.Delete

TcxCustomTabControlProperties Class

TcxCustomTabControlProperties Members

cxPC Unit