Table of Contents

Method ParseSnippet

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

ParseSnippet(XamlObject, string, XamlParserSettings)

Method use to parse a piece of Xaml.

public static XamlObject ParseSnippet(XamlObject root, string xaml, XamlParserSettings settings)

Parameters

root XamlObject

The Root XamlObject of the current document.

xaml string

The Xaml being parsed.

settings XamlParserSettings

Parser settings used by XamlParser.

Returns

XamlObject

Returns the XamlObject of the parsed xaml.

ParseSnippet(XamlObject, string, XamlParserSettings, XamlObject)

Method use to parse a piece of Xaml.

public static XamlObject ParseSnippet(XamlObject root, string xaml, XamlParserSettings settings, XamlObject parentObject)

Parameters

root XamlObject

The Root XamlObject of the current document.

xaml string

The Xaml being parsed.

settings XamlParserSettings

Parser settings used by XamlParser.

parentObject XamlObject

Parent Object, where the Parsed snippet will be inserted (Needed for Example for Bindings).

Returns

XamlObject

Returns the XamlObject of the parsed xaml.