Applies to
RibbonBar controls
Description
Specifies whether the RibbonBar control automatically adjusts its height. When it is TRUE, height is automatically adjusted according to the content. The Height property (no matter specified in the painter or in the scripts) will be ignored. When it is FALSE, height is determined by the Height property (specified in the painter or in the scripts).
Usage
In a painter
To enable automatic height of RibbonBar controls:
-
Select the AutosizeHeight check box on the Other page in the Properties view.
In scripts
The AutosizeHeight property takes a boolean value. AutosizeHeight is true by default.
This example turns off the AutosizeHeight feature:
rbb_1.AutosizeHeight = false