Export (0) Print
Expand All

XamlServices Methods

The XamlServices type exposes the following members.

  Name Description
Public method Static member Load(Stream) Loads a Stream source for a XAML reader and writes its output as an object graph.
Public method Static member Load(String) Loads a Stream source for a XAML reader and returns an object graph.
Public method Static member Load(TextReader) Creates a XAML reader from a TextReader, and returns an object graph.
Public method Static member Load(XamlReader) Loads a specific XAML reader implementation and returns an object graph.
Public method Static member Load(XmlReader) Loads a specific XML reader implementation and returns an object graph.
Public method Static member Parse Reads XAML as string output and returns an object graph.
Public method Static member Save(Object) Processes a provided object tree into a XAML node representation, and returns a string representation of the output XAML.
Public method Static member Save(Stream, Object) Processes a provided object graph into a XAML node representation and then into an output stream for serialization.
Public method Static member Save(String, Object) Processes a provided object graph into a XAML node representation and then writes it to an output file at a provided location.
Public method Static member Save(TextWriter, Object) Processes a provided object graph into a XAML node representation and then into an output that goes to the provided TextWriter.
Public method Static member Save(XamlWriter, Object) Processes a provided object graph into a XAML node representation and then writes it to the provided XAML writer.
Public method Static member Save(XmlWriter, Object) Processes a provided object graph into a XAML node representation and then writes it to the provided XmlWriter.
Public method Static member Transform(XamlReader, XamlWriter) Connects a XamlReader and a XamlWriter to use a common XAML node set intermediary. Potentially transforms the content, depending on the types of readers and writers that are provided.
Public method Static member Transform(XamlReader, XamlWriter, Boolean) Connects a XamlReader and a XamlWriter to use a common XAML node set intermediary. Potentially transforms the content, depending on the types of readers and writers that are provided. Provides a parameter for specifying whether to close the writer after the call is completed.
Top
Show:
© 2014 Microsoft