Skip to main content

AlertInfo(String, String, String, Image, Object) Constructor

Initializes a new instance of the AlertInfo class with the specified settings.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public AlertInfo(
    string caption,
    string text,
    string hotTrackedText,
    Image image,
    object tag
)

Parameters

Name Type Description
caption String

A string that specifies the caption of an alert window. This value is assigned to the AlertInfo.Caption property.

text String

A string that specifies the text of an alert window. This value is assigned to the AlertInfo.Text property.

hotTrackedText String

A string that specifies the text of an alert window, which is in effect when the text is hot-tracked. This value is assigned to the AlertInfo.HotTrackedText property.

image Image

An image to be displayed in an alert window. This value is assigned to the AlertInfo.Image property.

tag Object

Any custom data to be associated with the current object. This value is assigned to the AlertInfo.Tag property.

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

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