Back to Devexpress

IToastNotificationProperties Members

windowsforms-devexpress-dot-xtrabars-dot-toastnotifications-dot-itoastnotificationproperties-dot-underscore-members.md

latest6.0 KB
Original Source

IToastNotificationProperties Members

Exposes base ToastNotification properties.

Properties

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 IToastNotificationProperties.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 notification’s first body text string.
Body2Gets or sets this notification’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 notification’s duration.
HasAppLogoImageReturns whether this notification 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 or sets whether this notification currently has an image.
HasImagePathGets whether or not this notification has its image path specified.
HeaderGets or sets the header text string for this notification.
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 notification’s ID. | | Image | Gets or sets this notification’s image. | | ImagePath | Gets or sets the path to an image displayed by this ToastNotification. | | Sound | Gets or sets the sound played when this notification is shown. | | Template | Gets or sets the current template for this notification. |

Methods

NameDescription
Dispose()Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Inherited from IDisposable.

See Also

IToastNotificationProperties Interface

DevExpress.XtraBars.ToastNotifications Namespace