Back to Devexpress

ToastNotification Properties

windowsforms-devexpress-dot-xtrabars-dot-toastnotifications-dot-toastnotification-dot-underscore-properties.md

latest6.5 KB
Original Source

ToastNotification Properties

A toast notification.

NameDescription
AppLogoImageGets or sets the application logo image. This image is shown when the notification has the Generic template applied.
AppLogoImageCropGets or sets the way the ToastNotification.AppLogoImage is cropped.
AppLogoImagePathGets 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.
AttributionTextGets or sets the attribution text, displayed to the application name’s right. This text is shown when the notification has the Generic template applied.
BodyGets or sets this ToastNotification‘s first body text string.
Body2Gets or sets this ToastNotification‘s second body text string.
DisplayTimestampGets or sets the date and time associated with this notification. The notification time is visible in the Windows Action Center.
DurationGets or sets this ToastNotification duration.
HasAppLogoImageReturns whether this ToastNotification has an application logo image.
HasAppLogoImagePathReturns whether or not this notification has the application image path specified.
HasHeroImageReturns whether or not this notification has the hero image specified.
HasHeroImagePathReturns whether or not this notification has the path to the hero image specified.
HasImageGets whether this ToastNotification currently has an image.
HasImagePathGets whether or not this notification has its image path specified.
HasSoundOrDurationGets whether or not this notification has its ToastNotification.Sound or ToastNotification.Duration specified.
HeaderGets 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

ToastNotification Class

ToastNotification Members

DevExpress.XtraBars.ToastNotifications Namespace