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

AlertControl.GetDesiredAlertFormWidth Event

Allows you to set an alert window’s width.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Events")]
public event GetDesiredFormWidthEventHandler GetDesiredAlertFormWidth

#Event Data

The GetDesiredAlertFormWidth event's data class is DevExpress.XtraBars.Alerter.AlertFormWidthEventArgs.

#Remarks

Handle this event to set the width for alert windows. The event fires before an alert window is displayed onscreen. To set the width, use the event’s Width parameter.

See Also