Skip to main content

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

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

In This Article

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

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

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

#Parameters

Name Type Description
id Object

An Object that is the notification ID.

image Image

An Image displayed by this notification.

imagePath String

A string value that is the path to an image displayed by this notification.

header String

A String value that is the notification caption.

body String

A String value that is the first body text string of this notification.

body2 String

A String value that is the second body text string of this notification.

template ToastNotificationTemplate

A ToastNotificationTemplate enumerator value that specified the template applied to this notification.

See Also