New XAML/BAML Parser Engine
WPF 4 has replaced its implementation of XamlReader.Load(),
BAML loading, Control & DataTemplates functionality with a new engine built
on top of the new System.Xaml.dll. As part of this effort, we’ve fixed
many bugs and made many functionality improvements. Users of XamlReader.Load()
can take advantage of several new language features in XAML2009 such as support
for generic types. MarkupExtensions and TypeConverters can now get more services
during object graph creation, enabling more scenarios, such as access to the
Root object. Tools to analyze and manipulate XAML will also be much easier to
create with many of the new low level APIs provided in System.Xaml.dll.