Skip to main content

TdxAlertWindowOptionsSize.Height Property

Specifies an alert window‘s height, in pixels.

Declaration

property Height: Integer read; write; default dxAlertWindowDefaultMinHeight;

Property Value

Type Default
Integer dxAlertWindowDefaultMinHeight

Remarks

The Height property cannot fall outside the MinHeight/MaxHeight range.

You can enable automatic height adjustment based on displayed message elements via the AutoHeight property. In this instance, manual height adjustments made via the Height property are ignored. To override the height adjustment made by AutoHeight, handle an alert manager’s OnMeasureMessageText event.

To allow alert windows displayed on screen to dynamically adjust their size based on the message content, set the AutoSizeAdjustment property to True.

The default value of the Height property is specified by the dxAlertWindowDefaultMinHeight global constant.

See Also