Vcl.ActnMan.TActionBarItem.AutoSize

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property AutoSize: Boolean read FAutoSize write SetAutoSize default True;

C++

__property bool AutoSize = {read=FAutoSize, write=SetAutoSize, default=1};

Properties

Type Visibility Source Unit Parent
property published
Vcl.ActnMan.pas
Vcl.ActnMan.hpp
Vcl.ActnMan TActionBarItem

Description

Specifies whether the ActionBar control associated with this item sizes itself automatically to accommodate its contents.

Use AutoSize to specify whether the TActionBar control associated with this item sizes itself automatically. For example, AutoSize controls whether or not TCustomActionToolbars wrap. When AutoSize is true, the control resizes automatically when its contents change.

By default, AutoSize is false.