ToastNotification(Object, Image, String, String, String, String, ToastNotificationTemplate) Constructor
Initializes a new instance of the ToastNotification class with the specified settings.
Namespace: DevExpress.XtraBars.ToastNotifications
Assembly: DevExpress.XtraBars.v25.1.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