Show / Hide Table of Contents

Class XamlReader

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

Inheritance
System.Object
XamlReader
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: System.Windows.Markup
Assembly: OpenSilver.dll
Syntax
public static class XamlReader

Methods

| Improve this Doc View Source

Load(String)

Parses a well-formed XAML fragment and creates a corresponding Silverlight object tree, and returns the root of the object tree.

Declaration
public static object Load(string xaml)
Parameters
Type Name Description
System.String xaml

A string that contains a valid XAML fragment.

Returns
Type Description
System.Object

The root object of the Silverlight object tree.

  • Improve this Doc
  • View Source