I am trying to create a reusable System:Char
value in my xaml
resources.
I have:
xmlns:s="clr-namespace:System;assembly=mscorlib"
Then:
<s:Char x:Key="MaskPromptChar">#</s:Char>
I get an exception:
The type 'Char' was not found. [Line: 8 Position: 44]
But... I also have:
<s:Double x:Key="DefaultControlWidth">200</s:Double>
And...
<s:String x:Key="ApplicationTitle">My Title</s:String>
Both String
and Double
work fine.
Ideas??