A newer version of this page is available. Switch to the current version.

AlertControl.ControlBoxPosition Property

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

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v19.1.dll

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