ToastNotification Properties
A toast notification.Name | Description |
---|---|
AppLogoImage | Gets or sets the application logo image. This image is shown when the notification has the Generic template applied. |
AppLogoImageCrop | Gets or sets the way the ToastNotification.AppLogoImage is cropped. |
AppLogoImagePath | Gets or sets the path to the image that is used as the application logo image. This image is shown when the notification has the Generic template applied. |
AttributionText | Gets or sets the attribution text, displayed to the application name’s right. This text is shown when the notification has the Generic template applied. |
Body | Gets or sets this ToastNotification‘s first body text string. |
Body2 | Gets or sets this ToastNotification‘s second body text string. |
DisplayTimestamp | Gets or sets the date and time associated with this notification. The notification time is visible in the Windows Action Center. |
Duration | Gets or sets this ToastNotification duration. |
HasAppLogoImage | Returns whether this ToastNotification has an application logo image. |
HasAppLogoImagePath | Returns whether or not this notification has the application image path specified. |
HasHeroImage | Returns whether or not this notification has the hero image specified. |
HasHeroImagePath | Returns whether or not this notification has the path to the hero image specified. |
HasImage | Gets whether this ToastNotification currently has an image. |
HasImagePath | Gets whether or not this notification has its image path specified. |
HasSoundOrDuration | Gets whether or not this notification has its ToastNotification.Sound or ToastNotification.Duration specified. |
Header | Gets or sets this ToastNotification‘s header text string. |
HeroImage |
Gets or sets the “hero image” - an image docked to the notification’s top. This image is shown when the notification has the Generic template applied. |
HeroImagePath |
Gets or sets the path to the “hero image” - an image docked to the notification’s top. This image is shown when the notification has the Generic template applied. |
ID | Gets or sets this ToastNotification‘s ID. |
Image | Gets or sets the image, displayed within this ToastNotification. |
ImagePath | Gets or sets the path to an image displayed by this ToastNotification. |
Sound | Gets or sets the sound played when this ToastNotification is shown. |
Template | Gets or sets the template currently applied to this ToastNotification. |
See Also