SecondaryTile.ForegroundText 속성

정의

참고

foregroundText는 Windows 8.1 후 릴리스에서 변경되거나 사용할 수 없습니다. 대신 SecondaryTileVisualElements.ForegroundText를 사용합니다.

타일에서 어두운 텍스트 또는 밝은 텍스트를 사용해야 하는지 여부를 가져오거나 설정합니다.

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

속성 값

기본 어두운 텍스트 또는 기본 밝은 텍스트를 지정하는 두 값 중 하나입니다.

특성

설명

이 속성은 Windows Phone 8.1에서 무시됩니다.

이 속성을 지정하지 않으면 부모 앱 타일의 전경 텍스트 속성에서 상속됩니다.

기본 어두운 색과 기본 광원 등 두 개의 텍스트 색만 사용할 수 있으며 Windows에서 설정합니다. 선택한 배경색 과 로고 이미지의 불투명도에 가장 잘 맞는 텍스트 색을 선택합니다.

적용 대상