Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 1.5 KB

secondarytilevisualelements_backgroundcolor.md

File metadata and controls

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

Windows.UI.StartScreen.SecondaryTileVisualElements.BackgroundColor

-description

Gets or sets the secondary tile's background color.

-property-value

The background color. Specify in #ffffff format.

For Windows Phone 8.x app, set this value to "transparent" to use the system's accent color, which is chosen by the user in Settings.

-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.

secondaryTileVisualElements.BackgroundColor = Windows.UI.Color.Magenta;
secondaryTileVisualElements.BackgroundColor = Windows.UI.Color.FromArgb(255, 255, 255, 255);
secondaryTileVisualElements.BackgroundColor(Windows::UI::Colors::Magenta());
secondaryTileVisualElements.BackgroundColor(Windows::UI::ColorHelper::FromArgb(0, 255, 255, 120));
secondaryTileVisualElements->BackgroundColor = Windows::UI::Colors::Magenta;
secondaryTileVisualElements->BackgroundColor = Windows::UI::ColorHelper::FromArgb(0, 255, 255, 120);

-see-also

Secondary tiles sample