Text block style used for Settings app items

Apptacular Apps 386 Reputation points

I know there are 7 different styles available but does anyone know which text block style is used for the items in the Windows 10 Settings app? I want to ensure my app gets successfully uploaded to the Store without braking any rules.

<TextBlock Text="Header" Style="{StaticResource HeaderTextBlockStyle}"/>  
<TextBlock Text="SubHeader" Style="{StaticResource SubheaderTextBlockStyle}"/>  
<TextBlock Text="Title" Style="{StaticResource TitleTextBlockStyle}"/>  
<TextBlock Text="SubTitle" Style="{StaticResource SubtitleTextBlockStyle}"/>  
<TextBlock Text="Base" Style="{StaticResource BaseTextBlockStyle}"/>  
<TextBlock Text="Body" Style="{StaticResource BodyTextBlockStyle}"/>  
<TextBlock Text="Caption" Style="{StaticResource CaptionTextBlockStyle}"/>  


Universal Windows Platform (UWP)
0 comments No comments
{count} votes

Accepted answer
  1. Richard Zhang-MSFT 6,936 Reputation points


    Welcome to Microsoft Q&A

    After testing, the title and description of a single setting item are {BodyTextBlockStyle} and {CaptionTextBlockStyle}.

    Among them, the font color of the description is Gray (in Dark mode).

    The code looks like this:

        <TextBlock Style="{StaticResource BodyTextBlockStyle}" Text="System"/>  
        <TextBlock Style="{StaticResource CaptionTextBlockStyle}" Text="Display, sound, notifications, power" Foreground="Gray" Margin="0,1.5,0,0"/>  

    But in fact, the text styles provided by default are limited. You can flexibly create a variety of font styles according to your needs, in order to achieve a variety of typography.

    If you want to know more about styles, you can check this document:


    0 comments No comments

0 additional answers

Sort by: Most helpful