Expressions Blend Font size differences from property panel and XAML output

时间:2015-05-04 19:38:50

标签: wpf xaml expression-blend

Does anyone what the difference is or why in Expressions Blend, when I tell the font to be a size in the property panel, in the XAML it outputs as something completely difference.

Example: in the property panel it tell the text to be 140pt. But when I look in the XAML, the FontSize property comes out to 186.667.

enter image description here

Any ideas what could be causing this?

Thanks.

1 个答案:

答案 0 :(得分:0)

In XAML font sizes don't go by the normal 8, 9, 10, 11, 12, 14, 16pt and so on, but from 1 onward so 186.667 is the equivalent to 140pt font.