ParseSnippet Method
ParseSnippet(XamlObject, String, XamlParserSettings)
Method use to parse a piece of Xaml.
Declaration
public static XamlObject ParseSnippet(XamlObject root, string xaml, XamlParserSettings settings)
Parameters
Type | Name | Description |
---|---|---|
XamlObject | root | The Root XamlObject of the current document. |
System.String | xaml | The Xaml being parsed. |
XamlParserSettings | settings | Parser settings used by XamlParser. |
Returns
Type | Description |
---|---|
XamlObject | Returns the XamlObject of the parsed |
ParseSnippet(XamlObject, String, XamlParserSettings, XamlObject)
Method use to parse a piece of Xaml.
Declaration
public static XamlObject ParseSnippet(XamlObject root, string xaml, XamlParserSettings settings, XamlObject parentObject)
Parameters
Type | Name | Description |
---|---|---|
XamlObject | root | The Root XamlObject of the current document. |
System.String | xaml | The Xaml being parsed. |
XamlParserSettings | settings | Parser settings used by XamlParser. |
XamlObject | parentObject | Parent Object, where the Parsed snippet will be inserted (Needed for Example for Bindings). |
Returns
Type | Description |
---|---|
XamlObject | Returns the XamlObject of the parsed |