Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.25 KB

secondarytile_backgroundcolor.md

File metadata and controls

43 lines (32 loc) · 1.25 KB
-api-id -api-type -api-device-family-note
P:Windows.UI.StartScreen.SecondaryTile.BackgroundColor
winrt property
xbox

Windows.UI.StartScreen.SecondaryTile.BackgroundColor

-description

Note

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

Gets or sets the tile's background color.

-property-value

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.Color.Magenta;
secondaryTile.BackgroundColor = Windows.UI.Color.FromArgb(255, 255, 255, 255);
secondaryTile.BackgroundColor(Windows::UI::Colors::Magenta());
secondaryTile.BackgroundColor(Windows::UI::ColorHelper::FromArgb(0, 255, 255, 120));
secondaryTile->BackgroundColor = Windows::UI::Colors::Magenta;
secondaryTile->BackgroundColor = Windows::UI::ColorHelper::FromArgb(0, 255, 255, 120);

-see-also