Udostępnij za pośrednictwem


TileText Class

Definition

This class represents the text element of a Windows Notification tile, see http://msdn.microsoft.com/en-us/library/windows/apps/hh761491.aspx for details. This class is intended for use as part of the WindowsPushMessage class.

public class TileText
type TileText = class
Public Class TileText
Inheritance
TileText

Constructors

TileText()

Properties

Id

The text element in the tile template that this text is intended for. If a template has only one text element, then this value is 1. The number of available text positions is based on the template definition.

Lang

The target locale of the XML payload, specified as a BCP-47 language tags such as en-US or fr-FR. The locale specified here overrides any other specified locale, such as that in binding or visual. If this value is a literal string, this attribute defaults to the user's UI language. If this value is a string reference, this attribute defaults to the locale chosen by Windows Runtime in resolving the string.

Text

The actual text of the tile element.

Applies to