Skip to main content

TdxAlertWindowOptionsSize.Width Property

Specifies an alert window‘s width, in pixels.

Declaration

property Width: Integer read; write; default dxAlertWindowDefaultMinWidth;

Property Value

Type Default
Integer dxAlertWindowDefaultMinWidth

Remarks

The Width property value cannot fall outside the MinWidth/MaxWidth range.

You can enable the automatic width adjustment based on displayed message elements via the AutoWidth property. In this instance, manual width adjustments made via the Width property are ignored. To override the width adjustment made by AutoWidth, 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 Width property is specified by the dxAlertWindowDefaultMinWidth global constant.

See Also