Skip to main content

TdxAlertWindowOptionsSize.AutoHeight Property

Specifies whether or not the height of an alert window is automatically adjusted to let this window display the entire content of its current message.

Declaration

property AutoHeight: Boolean read; write; default dxAlertWindowDefaultAutoHeight;

Property Value

Type Default
Boolean dxAlertWindowDefaultAutoHeight

Remarks

Set this property to True to enable automatic adjustment of the Height property value based on displayed message elements. The adjusted height always falls within the MinHeight/MaxHeight range. Setting the Height property or handling the alert manager’s OnMeasureMessageText event overrides the height adjustment made by the AutoHeight property.

Note

Set both the AutoHeight and AutoSizeAdjustment properties to True to let alert windows displayed on screen dynamically adjust their height based on their content. If only the AutoHeight property is set to True, the height is automatically adjusted only for alert windows that are about to be displayed on screen.

The default value of the AutoHeight property is specified by the dxAlertWindowDefaultAutoHeight global constant.

See Also