Skip to main content

AlertControl.Show(Form, String, String, String, Image, Object, Boolean) Method

Displays an alert with customized settings and the capability to close on click.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void Show(
    Form owner,
    string caption,
    string text,
    string hotTrackedText,
    Image image,
    object tag,
    bool autoCloseFormOnClick
)

Parameters

Name Type Description
owner Form

A Form that owns the displayed alert.

caption String

A String value that is the alert form’s caption.

text String

A String value that is the alert form’s text.

hotTrackedText String

A String value that is the alert form’s text displayed only when hovered over (see the AlertInfo.HotTrackedText property).

image Image

An Image displayed by this alert window.

tag Object

An Object that serves as a unique ID associated with this alert.

autoCloseFormOnClick Boolean

true if the alert form should be closed on click; otherwise, false.

See Also