ToastNotification(Object, Image, String, String, String, String, ToastNotificationSound, ToastNotificationDuration, 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 imagePath,
string header,
string body,
string body2,
ToastNotificationSound sound,
ToastNotificationDuration duration,
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. |
imagePath | String | A String that is the newly created ToastNotification‘s image path. |
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. |
sound | ToastNotificationSound | A ToastNotificationSound object that is the ToastNotification.Sound property value. |
duration | ToastNotificationDuration | A ToastNotificationDuration object that is the ToastNotification.Duration property value. |
template | ToastNotificationTemplate | A ToastNotificationTemplate enumerator value that specifies the newly created ToastNotification‘s template. |