Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ToastNotificationTemplate Enum

Provides members that specify the current ToastNotification template.

Namespace: DevExpress.XtraBars.ToastNotifications

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public enum ToastNotificationTemplate

#Members

Name Description
ImageAndText01

An image and a single text string wrapped across a maximum of three lines of text.

ImageAndText02

An image, one string of bold header text on the first line, one string of regular body text wrapped across the second and third lines.

ImageAndText03

An image, one string of bold header text wrapped across the first and second lines, one string of regular body text on the third line.

ImageAndText04

An image, one string of bold header text on the first line, two strings of regular body text on the second and third lines.

Text01

A single text string wrapped across a maximum of three lines of text.

Text02

One string of bold header text on the first line, one string of regular body text wrapped across the second and third lines.

Text03

One string of bold header text wrapped across the first and second lines, one string of regular body text on the third line.

Text04

One string of bold header text on the first line, two strings of regular body text on the second and third lines.

Generic

A Windows 10-inspired template that allows you to create complex layouts using an XML-based mark-up.

#Related API Members

The following properties accept/return ToastNotificationTemplate values:

#Remarks

The ToastNotificationTemplate enumerator values, passed to the ToastNotification.Template property, specifies the current notification template. Depending on the currently applied templates, notification content (ToastNotification.Image, ToastNotification.Header, ToastNotification.Body, ToastNotification.Body2) can be displayed differently. See the Toast Notification Manager topic to learn more about available notification templates.

See Also