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

Gets or sets the position of an alert window’s control box.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DXCategory("Appearance")]
public virtual AlertFormControlBoxPosition ControlBoxPosition { get; set; }

#Property Value

Type Description
AlertFormControlBoxPosition

An AlertFormControlBoxPosition value that specifies the position of an alert window’s control box.

Available values:

Name Description
Top

The control buttons are displayed at the top edge of an alert window.

Right

The control buttons are displayed at the right edge of an alert window.

#Remarks

The control box is the area displaying the control buttons:

  • the Close button that is used to close the alert window. This button is visible if the AlertControl.ShowCloseButton property is enabled;
  • the Pin button that is used to “pin” the window, to prevent it from being automatically closed after a specific time. This button is visible if the AlertControl.ShowPinButton property is enabled;
  • the Dropdown button which displays a popup menu specified by the AlertControl.PopupMenu property. If no menu is assigned to the AlertControl.PopupMenu property, the Dropdown button is not available.
See Also