Skip to main content

AlertButtonCollection.PinButton Property

Provides access to the settings of the Pin Button, used to pin an alert window.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraEditors.v24.2.dll

Declaration

public AlertButton PinButton { get; }

Property Value

Type Description
AlertButton

An AlertButton object that contains corresponding settings.

Example

The following example shows how to pin an alert window when it’s displayed. The AlertControl.FormLoad event is handled to perform window customization. To pin the window, the AlertButton.SetDown method is called for the AlertButtonCollection.PinButton.

using DevExpress.XtraBars.Alerter;

private void alertControl1_FormLoad(object sender, AlertFormLoadEventArgs e) {
    e.Buttons.PinButton.SetDown(true);
}
See Also