问题
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