Compartir a través de


SecondaryTile.ForegroundText Propiedad

Definición

Nota

ForegroundText puede modificarse o no estar disponible para las versiones después de Windows 8.1. En su lugar, use SecondaryTileVisualElements.ForegroundText.

Obtiene o establece si el icono debe usar texto oscuro o claro.

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

Valor de propiedad

Uno de los dos valores que especifica el texto claro predeterminado o oscuro predeterminado.

Atributos

Comentarios

Esta propiedad se omite en Windows Phone 8.1.

Si no se especifica esta propiedad, se hereda de la propiedad de texto en primer plano del icono de la aplicación primaria.

Solo hay dos colores de texto disponibles (la luz predeterminada y la oscuridad predeterminada) y las establece Windows. Elija el color de texto que se verá mejor con su elección de color de fondo y la opacidad de la imagen del logotipo.

Se aplica a