SecondaryTile.ForegroundText SecondaryTile.ForegroundText SecondaryTile.ForegroundText SecondaryTile.ForegroundText SecondaryTile.ForegroundText Property

Definition

Note

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

Gets or sets whether the tile should use dark or light text.

public : ForegroundText ForegroundText { get; set; }
ForegroundText ForegroundText();

void ForegroundText(ForegroundText foregroundtext);
public ForegroundText ForegroundText { get; set; }
Public ReadWrite Property ForegroundText As ForegroundText
var foregroundText = secondaryTile.foregroundText;
secondaryTile.foregroundText = foregroundText;

Property Value

One of the two values that specifies either the default dark or default light text.

Remarks

This property is ignored on Windows Phone 8.1.

If this property is not specified, it is inherited from the foreground text property of the parent app's tile.

Only two text colors are available— default dark and default light— and are set by Windows. Choose the text color that will look best with your choice of background color and the opacity of your logo image.