Back to Devexpress

AlertControl.ControlBoxPosition Property

windowsforms-devexpress-dot-xtrabars-dot-alerter-dot-alertcontrol-55e89ede.md

latest2.7 KB
Original Source

AlertControl.ControlBoxPosition Property

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

Namespace : DevExpress.XtraBars.Alerter

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DXCategory("Appearance")]
public virtual AlertFormControlBoxPosition ControlBoxPosition { get; set; }
vb
<DXCategory("Appearance")>
Public Overridable Property ControlBoxPosition As AlertFormControlBoxPosition

Property Value

TypeDescription
AlertFormControlBoxPosition

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

|

Available values:

NameDescription
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

PopupMenu

ShowCloseButton

ShowPinButton

AlertControl Class

AlertControl Members

DevExpress.XtraBars.Alerter Namespace