Skip to main content

ToastNotification(Object, Image, String, String, String, ToastNotificationTemplate) Constructor

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

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public ToastNotification(
    object id,
    Image image,
    string header,
    string body,
    string body2,
    ToastNotificationTemplate template
)

Parameters

Name Type Description
id Object

An Object that is the newly created ToastNotification‘s ID.

image Image

An Image that is the newly created ToastNotification‘s image.

header String

A String value that is the newly created ToastNotification‘s header.

body String

A String value that is the ToastNotification.Body property value.

body2 String

A String value that is the ToastNotification.Body2 property value.

template ToastNotificationTemplate

A ToastNotificationTemplate enumerator value that specifies the newly created ToastNotification‘s template.

See Also