XamlReader Class

Provides a XAML processor engine for parsing XAML and creating corresponding Silverlight object trees.

Inheritance Hierarchy


Namespace:  System.Windows.Markup
Assembly:  System.Windows (in System.Windows.dll)


Public NotInheritable Class XamlReader
public static class XamlReader

The XamlReader type exposes the following members.


  Name Description
Public methodStatic memberSupported by Silverlight for Windows Phone Load Parses a well-formed XAML fragment and creates a corresponding Silverlight object tree, and returns the root of the object tree.
Public methodStatic member LoadWithInitialTemplateValidation Security Critical. Cannot be called.



Usage for Load is documented thoroughly in the topic Using XamlReader.Load.

Version Information


Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0


For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.