Skip to content

Latest commit

 

History

History
46 lines (30 loc) · 1.19 KB

fontfamily_xamlautofontfamily.md

File metadata and controls

46 lines (30 loc) · 1.19 KB
-api-id -api-type
P:Windows.UI.Xaml.Media.FontFamily.XamlAutoFontFamily
winrt property

Windows.UI.Xaml.Media.FontFamily.XamlAutoFontFamily

-description

Gets the default font family based on an app's language settings.

-property-value

The default font family based on an app's language settings. See Remarks.

-remarks

XamlAutoFontFamily is the default FontFamily property setting for all XAML controls. The FontFamily that this property gets at run time depends on the app language.

LanguageDefault FontFamily
JapaneseYu Gothic UI
KoreanMalgun Gothic
All othersSegoe UI

-examples

<TextBlock FontFamily="XamlAutoFontFamily"/>
TextBlock textBlock1 = new TextBlock();
textBlock1.FontFamily = FontFamily.XamlAutoFontFamily;

-see-also