TileBinding Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class represents the binding
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 TileBinding
type TileBinding = class
Public Class TileBinding
- Inheritance
-
TileBinding
Constructors
TileBinding() |
Initializes a new instance of the TileBinding class. |
TileBinding(IEnumerable<TileImage>, IEnumerable<TileText>) |
Initializes a new instance of the TileBinding class. |
TileBinding(TileImage[]) |
Initializes a new instance of the TileBinding class. |
TileBinding(TileText[]) |
Initializes a new instance of the TileBinding class. |
Properties
AddImageQuery |
Set to true to allow Windows 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 |
BaseUri |
A default base URI that is combined with relative URIs in image source attributes. |
Branding |
The form that the tile should use to display the app's brand. |
ContentId |
Set to 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. |
Fallback |
A template to use if the primary template name is not recognized by the recipient, for use with Windows 8 compatibility. This value is the Windows 8 name of the value in the template attribute. New templates introduced after Windows 8 do not have a fallback. |
Images |
Set of TileImage elements |
Lang |
The target locale of the XML payload, specified as a BCP-47 language tags such as |
Template |
One of the provided templates on which to base the tile. Typically, a developer should supply both a square and a wide format, each as a separate binding element. Valid entries are members of the tileTemplateType enumeration. |
Texts |
Set of TileText elements |