SecondaryTile.ForegroundText Proprietà

Definizione

Nota

ForegroundText può essere modificato o non disponibile per le versioni dopo Windows 8.1. Usare invece SecondaryTileVisualElements.ForegroundText.

Ottiene o imposta un valore che indica se il riquadro deve utilizzare testo scuro o chiaro.

public:
 property ForegroundText ForegroundText { ForegroundText get(); void set(ForegroundText value); };
/// [get: Windows.Foundation.Metadata.Deprecated("ForegroundText may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ForegroundText.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [set: Windows.Foundation.Metadata.Deprecated("TileOptions may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ShowNameOnSquare150x150Logo, VisualElements.ShowNameOnWide310x150Logo, and RoamingEnabled.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
ForegroundText ForegroundText();

void ForegroundText(ForegroundText value);
/// [get: Windows.Foundation.Metadata.Deprecated("ForegroundText may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ForegroundText.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
/// [set: Windows.Foundation.Metadata.Deprecated("TileOptions may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ShowNameOnSquare150x150Logo, VisualElements.ShowNameOnWide310x150Logo, and RoamingEnabled.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
ForegroundText ForegroundText();

void ForegroundText(ForegroundText value);
public ForegroundText ForegroundText { [Windows.Foundation.Metadata.Deprecated("ForegroundText may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ForegroundText.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] get; [Windows.Foundation.Metadata.Deprecated("TileOptions may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ShowNameOnSquare150x150Logo, VisualElements.ShowNameOnWide310x150Logo, and RoamingEnabled.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))] set; }
public ForegroundText ForegroundText { [Windows.Foundation.Metadata.Deprecated("ForegroundText may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ForegroundText.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] get; [Windows.Foundation.Metadata.Deprecated("TileOptions may be altered or unavailable for releases after Windows 8.1. Instead, use VisualElements.ShowNameOnSquare150x150Logo, VisualElements.ShowNameOnWide310x150Logo, and RoamingEnabled.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")] set; }
var foregroundText = secondaryTile.foregroundText;
secondaryTile.foregroundText = foregroundText;
Public Property ForegroundText As ForegroundText

Valore della proprietà

Uno dei due valori che specifica il testo chiaro predefinito scuro o predefinito.

Attributi

Commenti

Questa proprietà viene ignorata in Windows Phone 8.1.

Se questa proprietà non viene specificata, viene ereditata dalla proprietà di testo in primo piano del riquadro dell'app padre.

Sono disponibili solo due colori di testo: chiaro predefinito scuro e predefinito, e sono impostati da Windows. Scegli il colore del testo che sarà migliore con la tua scelta di colore di sfondo e l'opacità dell'immagine del logo.

Si applica a