-api-id | -api-type | -api-device-family-note |
---|---|---|
P:Windows.UI.StartScreen.SecondaryTileVisualElements.BackgroundColor |
winrt property |
xbox |
Gets or sets the secondary tile's background color.
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.
If this property is not set, its value is inherited from the background color of the parent app's tile.
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);