Back to Devexpress

TdxBar.AllowReset Property

vcl-dxbar-dot-tdxbar-3121a30b.md

latest1.2 KB
Original Source

TdxBar.AllowReset Property

Specifies whether a toolbar can be restored by end-users.

Declaration

delphi
property AllowReset: Boolean read; write; default True;

Property Value

TypeDefault
BooleanTrue

Remarks

If this property is set to True , end-users can restore the original settings for the current toolbar by clicking the ‘ Reset… ‘ button on the toolbar customization form or using the Quick Customization Popup Menu. Set the property to False to prevent the current toolbar from being restored. In such an instance, the ‘ Reset… ‘ button is disabled. Alternatively, you can use the AllowReset property or the OnBarReset event of a bar manager.

The default value of the AllowReset property is True.

See Also

TdxBar.Reset

TdxBar Class

TdxBar Members

dxBar Unit