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, 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 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