SecondaryTile.ForegroundText | foregroundText property

This topic has not yet been rated - Rate this topic

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

Syntax


var foregroundText = secondaryTile.foregroundText;
secondaryTile.foregroundText = foregroundText;

Property value

Type: ForegroundText

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

Remarks

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.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.StartScreen
Windows::UI::StartScreen [C++]

Metadata

Windows.winmd

See also

SecondaryTile
BackgroundColor
Secondary tiles sample

 

 

Build date: 12/4/2012

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.