Button.AutoSizing
- Updated2025-07-21
- 1 minute(s) read
Button.AutoSizing
Syntax
Button.AutoSizing
Data Type
Use the following constants with this data type:
- ButtonSizing_AlwaysAutoSize –(Value: 0) Always resize the Button control to fit the text.
- ButtonSizing_GrowOnly –(Value: 1) Resize the Button control only when the text does not fit in the control.
- ButtonSizing_NeverAutoSize –(Value: 3) Never resize the Button control.
- ButtonSizing_ShrinkOnly –(Value: 2) Resize the Button control only when the text is smaller than the button.
Purpose
Specifies whether the control automatically resizes when the text of the control changes.