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.AutoSizeAdjustment Property

Enables an alert window displayed on screen to dynamically adjust the window size to let this window display its entire message content, with animation.

#Declaration

Delphi
property AutoSizeAdjustment: Boolean read; write; default dxAlertWindowDefaultAutoSizeAdjustment;

#Property Value

Type Default
Boolean dxAlertWindowDefaultAutoSizeAdjustment

#Remarks

Use this property in combination with the AutoHeight and AutoWidth properties to control automatic window size adjustments for alert windows displayed on screen. Set all these properties to True to enable automatic adjustment of the Width and Height property values based on the content of its current message. The adjusted size always falls within the MinWidth/MaxWidth and MinHeight/MaxHeight ranges.

The window size is adjusted with the animation effect. Use the OptionsAnimate.SizeAdjustmentAnimationTime property to adjust the animation’s duration.

Note

Manual size adjustments made via an alert window’s Width and/or Height properties are ignored if the AutoSizeAdjustment or AutoHeight/AutoWidth property is set to True.

The default value of the AutoSizeAdjustment property is specified by the dxAlertWindowDefaultAutoSizeAdjustment global constant.

See Also