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.v24.1.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
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.