TcxCustomBarEditItem.Height Property
Specifies embedded editor height, in pixels.
Declaration
property Height: Integer read; write; default 0;
Property Value
Type | Default | Description |
---|---|---|
Integer | 0 | The custom height (in pixels) of the embedded editor at |
Remarks
Use Width and Height
properties to explicitly define embedded editor dimensions.
Property Values and Scaling
Width and Height
properties specify the base embedded editor dimensions (in pixels) that correspond to 96
DPI. Toolbar draw routines multiply Width and Height
property values by the current scale factor and round the results to the nearest integer to calculate actual embedded editor dimensions on the target screen.
Limitations
The actual embedded editor height can differ from the Height
property value if the embedded editor’s layout imposes size constraints. In this case, the toolbar item container automatically adjusts its dimensions and the parent toolbar’s height to fit the embedded editor.
Default Value
The Height
property’s default value is 0
.
The default Height
property value indicates that the toolbar edit item calculates the embedded editor height automatically.