Skip to main content
All docs
V24.2

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

Displays a classic alert with customized settings. The displayed alert can close on click.

Namespace: DevExpress.XtraBars.Alerter

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Parameters

Name Type Description
owner Form

A Form that owns the displayed alert.

caption String

The alert form’s caption.

text String

The alert form’s text.

hotTrackedText String

The alert form’s text displayed only when hovered over (see the AlertInfo.HotTrackedText property).

svgImage SvgImage

The alert form’s icon.

tag Object

The alert form’s tag that serves as a unique ID.

autoCloseFormOnClick Boolean

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

See Also