SecondaryTileVisualElements SecondaryTileVisualElements SecondaryTileVisualElements SecondaryTileVisualElements SecondaryTileVisualElements Class

Definition

Contains properties through which you can get or set a secondary tile's background color, foreground text, tile images, and app name display options. The properties in this class replace these SecondaryTile properties:

public : sealed class SecondaryTileVisualElements : ISecondaryTileVisualElements, ISecondaryTileVisualElements2, ISecondaryTileVisualElements3, ISecondaryTileVisualElements4
struct winrt::Windows::UI::StartScreen::SecondaryTileVisualElements : ISecondaryTileVisualElements, ISecondaryTileVisualElements2, ISecondaryTileVisualElements3, ISecondaryTileVisualElements4
public sealed class SecondaryTileVisualElements : ISecondaryTileVisualElements, ISecondaryTileVisualElements2, ISecondaryTileVisualElements3, ISecondaryTileVisualElements4
Public NotInheritable Class SecondaryTileVisualElements Implements ISecondaryTileVisualElements, ISecondaryTileVisualElements2, ISecondaryTileVisualElements3, ISecondaryTileVisualElements4
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

This class object is obtained by calling the SecondaryTile.VisualElements property.

A logo image that is saved locally (ms-appdata://localfolder/) by the app to use in a secondary tile should not be deleted by the app. This prevents loss of the image if the cache is cleared.

Properties

BackgroundColor BackgroundColor BackgroundColor BackgroundColor BackgroundColor

Gets or sets the secondary tile's background color.

ForegroundText ForegroundText ForegroundText ForegroundText ForegroundText

Specifies whether the tile should use dark or light text.

This value is ignored on Windows Phone 8.1. The foreground text color of a secondary tile on the phone is always light.

MixedRealityModel MixedRealityModel MixedRealityModel MixedRealityModel MixedRealityModel

Gets an object representing a 3D model asset for use as an app launcher in the Windows Mixed Reality home environment.

ShowNameOnSquare150x150Logo ShowNameOnSquare150x150Logo ShowNameOnSquare150x150Logo ShowNameOnSquare150x150Logo ShowNameOnSquare150x150Logo

Specifies whether the display name should be shown on the medium secondary tile.

The display name is never shown on a medium secondary tile on Windows Phone 8.1, so this value is ignored.

ShowNameOnSquare310x310Logo ShowNameOnSquare310x310Logo ShowNameOnSquare310x310Logo ShowNameOnSquare310x310Logo ShowNameOnSquare310x310Logo

Specifies whether the display name should be shown on the large secondary tile.

The large tile size is not supported on Windows Phone 8.1, so this value is ignored.

ShowNameOnWide310x150Logo ShowNameOnWide310x150Logo ShowNameOnWide310x150Logo ShowNameOnWide310x150Logo ShowNameOnWide310x150Logo

Specifies whether the display name should be shown on the wide secondary tile.

Square150x150Logo Square150x150Logo Square150x150Logo Square150x150Logo Square150x150Logo

Gets or sets the medium secondary tile image.

Square30x30Logo Square30x30Logo Square30x30Logo Square30x30Logo Square30x30Logo

Gets or sets the square30x30 secondary tile image.

The Square30x30 tile size is not supported on Windows Phone 8.1.

Square310x310Logo Square310x310Logo Square310x310Logo Square310x310Logo Square310x310Logo

Gets or sets the large secondary tile image.

The large tile size is not supported on Windows Phone 8.1.

Square44x44Logo Square44x44Logo Square44x44Logo Square44x44Logo Square44x44Logo

Gets or sets the square44x44 secondary tile image.

Square70x70Logo Square70x70Logo Square70x70Logo Square70x70Logo Square70x70Logo

Gets or sets the small secondary tile image.

The Square70x70 tile size is not supported on Windows Phone 8.1. Instead, call Square71x71Logo.

Square71x71Logo Square71x71Logo Square71x71Logo Square71x71Logo Square71x71Logo

Gets or sets the small secondary tile image.

The Square71x71 tile size is not supported on Windows. Instead, call Square70x70Logo.

Wide310x150Logo Wide310x150Logo Wide310x150Logo Wide310x150Logo Wide310x150Logo

Gets or sets the wide secondary tile image.