Back to Devexpress

TdxAlertWindowOptionsSize.Height Property

vcl-dxalertwindow-dot-tdxalertwindowoptionssize.md

latest1.9 KB
Original Source

TdxAlertWindowOptionsSize.Height Property

Specifies an alert window‘s height, in pixels.

Declaration

delphi
property Height: Integer read; write; default dxAlertWindowDefaultMinHeight;

Property Value

TypeDefault
IntegerdxAlertWindowDefaultMinHeight

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

TdxAlertWindowOptionsSize.Width

TdxAlertWindowOptionsSize Class

TdxAlertWindowOptionsSize Members

dxAlertWindow Unit