xtd - Reference Guide  0.1.0
Modern c++17 framework to create console, gui and unit test applications on Windows, macOS and Linux.

§ auto_size_mode

Specifies how a control will behave when its auto_size property is enabled.

Use the members of this enumeration to set the border style for controls that have a changeable border.

The control grows or shrinks to fit its contents. The control cannot be resized manually.


The control grows as much as necessary to fit its contents but does not shrink smaller than the value of its size property. The form can be resized, but cannot be made so small that any of its contained controls are hidden.