SecondaryTileVisualElements.BackgroundColor SecondaryTileVisualElements.BackgroundColor SecondaryTileVisualElements.BackgroundColor SecondaryTileVisualElements.BackgroundColor SecondaryTileVisualElements.BackgroundColor Property

Definition

Gets or sets the secondary tile's background color.

public : Color BackgroundColor { get; set; }
Color BackgroundColor();

void BackgroundColor(Color backgroundcolor);
public Color BackgroundColor { get; set; }
Public ReadWrite Property BackgroundColor As Color
var color = secondaryTileVisualElements.backgroundColor;
secondaryTileVisualElements.backgroundColor = 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.

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);
secondaryTileVisualElements.backgroundColor = Windows.UI.Colors.magenta;

Remarks

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

See also