-api-id | -api-type |
---|---|
P:Windows.UI.Xaml.Media.FontFamily.XamlAutoFontFamily |
winrt property |
Gets the default font family based on an app's language settings.
The default font family based on an app's language settings. See 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.
Language | Default FontFamily |
---|---|
Japanese | Yu Gothic UI |
Korean | Malgun Gothic |
All others | Segoe UI |
<TextBlock FontFamily="XamlAutoFontFamily"/>
TextBlock textBlock1 = new TextBlock();
textBlock1.FontFamily = FontFamily.XamlAutoFontFamily;