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

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.v19.1.dll

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