Back to Devexpress

AlertControl.AutoHeight Property

windowsforms-devexpress-dot-xtrabars-dot-alerter-dot-alertcontrol-21fa12d7.md

latest1.6 KB
Original Source

AlertControl.AutoHeight Property

Gets or sets whether the height of alert windows are automatically calculated, according to their content.

Namespace : DevExpress.XtraBars.Alerter

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Behavior")]
public bool AutoHeight { get; set; }
vb
<DXCategory("Behavior")>
<DefaultValue(False)>
Public Property AutoHeight As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

true if the height of alert windows are automatically calculated, according to their content; otherwise, false.

|

Remarks

To change the width of alert windows, handle the AlertControl.GetDesiredAlertFormWidth event.

See Also

GetDesiredAlertFormWidth

AlertControl Class

AlertControl Members

DevExpress.XtraBars.Alerter Namespace