Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Delphi
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