Back to Devexpress

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

windowsforms-devexpress-dot-xtrabars-dot-alerter-dot-alertcontrol-dot-show-x28-system-dot-windows-dot-forms-dot-form-system-dot-string-system-dot-string-system-dot-string-system-dot-drawing-dot-image-system-dot-object-system-dot-boolean-x29.md

latest2.6 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public void Show(
    Form owner,
    string caption,
    string text,
    string hotTrackedText,
    Image image,
    object tag,
    bool autoCloseFormOnClick
)
vb
Public Sub Show(
    owner As Form,
    caption As String,
    text As String,
    hotTrackedText As String,
    image As Image,
    tag As Object,
    autoCloseFormOnClick As Boolean
)

Parameters

NameTypeDescription
ownerForm

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

AlertControl Class

AlertControl Members

DevExpress.XtraBars.Alerter Namespace