SecondaryTile.BackgroundColor | backgroundColor property

Applies to Windows and Windows Phone

[BackgroundColor may be altered or unavailable for releases after Windows 8.1. Instead, use SecondaryTileVisualElements.BackgroundColor.]

Gets or sets the tile's background color.

Syntax


var backgroundColor = secondaryTile.backgroundColor;
secondaryTile.backgroundColor = backgroundColor;

Property value

Type: Color

The background color.

Remarks

If this property is not set, its value is inherited from the background color of the parent app's tile.

Examples

The following lines show different ways to express the color through this property.



secondaryTile.backgroundColor = Windows.UI.Colors.magenta;

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

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

Metadata

Windows.winmd

See also

SecondaryTile
Secondary tiles sample

 

 

Show:
© 2014 Microsoft