Edit

Share via


TileVisual Class

Definition

Contains multiple binding child elements, each of which defines a Tile.

public sealed class TileVisual
type TileVisual = class
Public NotInheritable Class TileVisual
Inheritance
TileVisual

Constructors

TileVisual()

Properties

AddImageQuery

Gets or sets a value whether Windows is allowed to append a query string to the image URI supplied in the Tile notification. Use this attribute if your server hosts images and can handle query strings, either by retrieving an image variant based on the query strings or by ignoring the query string and returning the image as specified without the query string. This query string specifies scale, contrast setting, and language; for instance, a value of

"www.website.com/images/hello.png"

included in the notification becomes

"www.website.com/images/hello.png?ms-scale=100&ms-contrast=standard&ms-lang=en-us"

Arguments

Gets or sets app-defined data that is passed back to your app via the TileActivatedInfo property on LaunchActivatedEventArgs when the user launches your app from the Live Tile. This allows you to know which Tile notifications your user saw when they tapped your Live Tile. On devices without the Anniversary Update, this will simply be ignored.

BaseUri

Gets or sets a default base URI that is combined with relative URIs in image source attributes.

Branding

Gets or sets the form that the Tile should use to display the app's brand.

ContentId

Gets or sets a sender-defined string that uniquely identifies the content of the notification. This prevents duplicates in the situation where a large Tile template is displaying the last three wide Tile notifications.

DisplayName

Gets or sets an optional string to override the Tile's display name while showing this notification.

Language

Gets or sets the target locale of the XML payload, specified as a BCP-47 language tags such as "en-US" or "fr-FR". This locale is overridden by any locale specified in binding or text. 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.

LockDetailedStatus1

Gets or sets the first line of text that will be displayed on the lock screen if the user has selected your Tile as their detailed status app. Ff you specify this, you must also provide a Wide Tile binding.

LockDetailedStatus2

Gets or sets the second line of text that will be displayed on the lock screen if the user has selected your Tile as their detailed status app. If you specify this, you must also provide a Wide Tile binding.

LockDetailedStatus3

Gets or sets the third line of text that will be displayed on the lock screen if the user has selected your Tile as their detailed status app. If you specify this, you must also provide a Wide Tile binding.

TileLarge

Gets or sets an optional large binding to specify content for the large Tile size. Desktop-only

TileMedium

Gets or sets an optional medium binding to specify content for the medium Tile size.

TileSmall

Gets or sets an optional small binding to specify content for the small Tile size.

TileWide

Gets or sets an optional wide binding to specify content for the wide Tile size.

Applies to