Lester's WPF\SL Blog

Simple, Easy & Beautiful

Xaml 2009 Features: Built in Types

Xaml 2009 Features: Built in Types

Rate This
  • Comments 8

In Xaml2009, we have built-in support for common CLR types which simplifies authoring. So rather than specifying something like

<s:String xmlns:s="clr-namespace:System;assembly=mscorlib"> Foo </s:String>

We can use the notation <x:String > Foo </s:String>

The list of types supported is below:















One thing to note is wrt WPF this will work only in loose Xaml. This means that these features cannot be used within Cider\Blend. Rob has a post clarifying the absence of tooling support.

Now you get the slight change in title J

[This is part of a series on New WPF\XAML Features] 


Share this post


Page 1 of 1 (8 items)