Compartilhar via


SecondaryTile.ForegroundText Propriedade

Definição

Observação

ForegroundText pode ser alterado ou indisponível para versões após Windows 8.1. Em vez disso, use SecondaryTileVisualElements.ForegroundText.

Obtém ou define se o bloco deve usar texto escuro ou 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 da propriedade

Um dos dois valores que especifica o texto claro padrão escuro ou padrão.

Atributos

Comentários

Essa propriedade é ignorada no Windows Phone 8.1.

Se essa propriedade não for especificada, ela será herdada da propriedade de texto em primeiro plano do bloco do aplicativo pai.

Apenas duas cores de texto estão disponíveis, o padrão escuro e a luz padrão, e são definidas pelo Windows. Escolha a cor do texto que ficará melhor com sua escolha de cor da tela de fundo e a opacidade da imagem do logotipo.

Aplica-se a