Skip to main content
A newer version of this page is available. .

AlertButton.Predefined Property

Gets whether the current button is one of the predefined buttons (Close, Pin or Dropdown).

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

[Browsable(false)]
public virtual bool Predefined { get; }

Property Value

Type Description
Boolean

true if the current button is one of the predefined buttons; otherwise, false.

Remarks

An alert window can display custom buttons and predefined buttons (Close, Pin or Dropdown). Any of them are represented by a AlertButton object. If a button is a predefined button, the Predefined property is set to true. Otherwise, the property is set to false.

To provide custom buttons for alert windows, add them to the AlertControl.Buttons collection. To specify the visibility of the predefined buttons, use the AlertControl.ShowCloseButton, AlertControl.ShowPinButton and AlertControl.PopupMenu properties.

See Also