Skip to main content

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

Displays an alert window with the specified settings.

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
)

Parameters

Name Type Description
owner Form

An owner of the window. In a multi-monitor system, if the owner is set to null, the window will be displayed on the main monitor. Otherwise, the window will be displayed on the same monitor as the owner.

caption String

A string that specifies the window’s caption.

text String

A string that specifies the window’s text, displayed when the text region is not hovered over.

hotTrackedText String

A string that specifies the text which is displayed when the text region is hovered over.

image Image

An image to be displayed within the alert window.

tag Object

Any custom data associated with the window.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Show(Form, String, String, String, Image, Object) method.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also