XamlReader Class

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


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

public static class XamlReader

The XamlReader type exposes the following members.

Public methodStatic memberSupported by Silverlight for Windows PhoneLoadParses a well-formed XAML fragment and creates a corresponding Silverlight object tree, and returns the root of the object tree.
Public methodStatic memberLoadWithInitialTemplateValidationSecurity Critical. Cannot be called.

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


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.

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

Community Additions