xtd 0.2.0
Loading...
Searching...
No Matches

◆ auto_size_mode

enum class xtd::forms::auto_size_mode
strong

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

Header
#include <xtd/forms/auto_size_mode>
Namespace
xtd::forms
Library
xtd.forms
Remarks
Use the members of this enumeration to set the border style for controls that have a changeable border.
Enumerator
grow_and_shrink 

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

grow_only 

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.