title: How to use QualifiedDouble values in Silverlight XAML?
body: <p>I need to define canvas width and height in centimeters, so basically I have such code snippet:</p>
  
  <pre><code>    &lt;Canvas x:Name="Template" Height="10cm" Width="10cm" /&gt;
  </code></pre>
  
  <p>and VS2010 designer do not give me any error and shows my canvas correctly, but when I want to execute my application I received XamlParseException exception:</p>
  
  <pre><code>Failed to create a 'System.Double' from the text '10cm'. [Line: 18 Position: 42]
  </code></pre>
  
  <p>According to Microsoft (<a href="http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.width.aspx" rel="nofollow noreferrer">http://msdn.microsoft.com/en-us/library/system.windows.frameworkelement.width.aspx</a>) it is possible to use QualifiedDoubles with Width/Height property. Of course, I can make this conversion in code-behind using LegthConverter class from Silverlight Toolkit.</p>
  
  <p>Basically the question is - what am I doing wrong? and is it possible to use qualifiedDouble values in SilverLight XAML?</p>