Class XAMLParser
XAML parse which help us to format and display XAML text in rich format.
Inheritance
System.Object
XAMLParser
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class XAMLParser : Object
Constructors
XAMLParser()
Declaration
public XAMLParser()
Methods
GetFomattedXAML(String)
Colors the XAML.
Declaration
public static Paragraph GetFomattedXAML(string xamlText)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | xamlText | The xaml text. |
Returns
| Type | Description |
|---|---|
| System.Windows.Documents.Paragraph | return formatted paragraph text. |
GetFormattedXAML(String)
Colors the XAML.
Declaration
public static Paragraph GetFormattedXAML(string xamlText)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | xamlText | The xaml text. |
Returns
| Type | Description |
|---|---|
| System.Windows.Documents.Paragraph | return formatted paragraph text. |