ToastTemplateType enumeration

This topic has not yet been rated - Rate this topic

Specifies the template to use in a toast notification.

Syntax


var value = Windows.UI.Notifications.ToastTemplateType.toastImageAndText01;

Attributes

VersionAttribute(NTDDI_WIN8)

Members

The ToastTemplateType enumeration has these members.

MemberValueDescription
ToastImageAndText01 | toastImageAndText010

A large image and a single string wrapped across three lines of text.

ToastImageAndText01 example
ToastImageAndText02 | toastImageAndText021

A large image, one string of bold text on the first line, one string of regular text wrapped across the second and third lines.

ToastImageAndText02 example
ToastImageAndText03 | toastImageAndText032

A large image, one string of bold text wrapped across the first two lines, one string of regular text on the third line.

ToastImageAndText03 example
ToastImageAndText04 | toastImageAndText043

A large image, one string of bold text on the first line, one string of regular text on the second line, one string of regular text on the third line.

ToastImageAndText04 example
ToastText01 | toastText014

A single string wrapped across three lines of text.

ToastText01 example
ToastText02 | toastText025

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

ToastText02 example
ToastText03 | toastText036

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

ToastText03 example
ToastText04 | toastText047

One string of bold text on the first line, one string of regular text on the second line, one string of regular text on the third line.

ToastText04 example

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Notifications
Windows::UI::Notifications [C++]

Metadata

Windows.winmd

See also

The toast template catalog
ToastNotificationManager.getTemplateContent
Toast notifications sample
Sending toast notifications from desktop apps sample
Toast XML schema
Toast notification overview
Quickstart: Sending a toast notification
Quickstart: Sending a toast push notification
Quickstart: Sending a toast notification from the desktop
Guidelines and checklist for toast notifications
How to handle activation from a toast notification
How to opt in for toast notifications
How to schedule a toast notification
How to enable desktop toast notifications through an AppUserModelID
Toast audio options
Tile and toast image sizes

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.