Table of Contents

Class XamlDocument

Namespace
Alternet.FormDesigner.Wpf.XamlDom
Assembly
Alternet.FormDesigner.Wpf.v10.dll

Represents a .xaml document.

public sealed class XamlDocument
Inheritance
XamlDocument

Properties

CurrentProjectAssemblyName

Gets the Current Projects Assembly Name (if it has any).

RootElement

Gets the root xaml object.

RootInstance

Gets the object instance created by the root xaml object.

ServiceProvider

Gets the service provider used for markup extensions in this document.

TypeFinder

Gets the type finder used for this XAML document.

Methods

CreateNullValue()

Creates a value that represents {x:Null}

CreateObject(object, Type)

Create an XamlObject from the instance.

CreatePropertyValue(object, XamlProperty, Type)

Create a XamlPropertyValue for the specified value instance.

Save(XmlWriter)

Saves the xaml document into the writer.