Font size and family for a tile's title

百般思念 提交于 2019-12-31 01:01:10

问题


Simple question but I havent found the answer. What is the font name and size that is used for the tile's title (like the title "Internet Explorer" on that tile)?

Does anyone know this?


回答1:


I believe FontFamily is PhoneFontFamilySemiBold and FontSize is PhoneFontSizeNormal.

The code snippet below is from the toolkit's HubTile control where you can pretty much find all the information about the style of the tile. :)

<TextBlock x:Name="BackTitleBlock" Grid.Row="1" 
                                    VerticalAlignment="Bottom" 
                                    Margin="10,0,0,6"
                                    FontFamily="{StaticResource PhoneFontFamilySemiBold}"
                                    FontSize="{StaticResource PhoneFontSizeNormal}"
                                    Foreground="{TemplateBinding Foreground}"
                                    TextWrapping="NoWrap"/>


来源:https://stackoverflow.com/questions/8429950/font-size-and-family-for-a-tiles-title

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!