WPF Templates

by Jim Dec 18, 2008 1:40 PM

When copying Microsoft’s default templates for WPF controls, you might run into some unresolved tags:

<Trigger.Value>
    <s:Boolean>False</s:Boolean>
</Trigger.Value>

Where are that s:Boolean and the other ‘s’ prefixed tags thing common from? There in the System namespace; just add the prefix to your file like so:

xmlns:s="clr-namespace:System;assembly=mscorlib"

and you’re good to go.