Export (0) Print
Expand All

XamlReader Class

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

System.Object
  System.Windows.Markup.XamlReader

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

'Declaration
Public NotInheritable Class XamlReader

The XamlReader type exposes the following members.

  NameDescription
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.
Top

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

Silverlight

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

ADD
Show:
© 2014 Microsoft