Search code examples
wpfxamlexpression-blend

Expressions Blend Font size differences from property panel and XAML output


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.


Solution

  • 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.