Class XAMLParser
XAML parse which help us to format and display XAML text in rich format.
Inheritance
System.Object
XAMLParser
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Syncfusion.Windows.Shared
Assembly: Syncfusion.Shared.WPF.dll
Syntax
public class XAMLParser
Constructors
XAMLParser()
Declaration
public XAMLParser()
Methods
GetFomattedXAML(String)
Colors the XAML.
Declaration
[Obsolete("GetFomattedXAML is deprecated, please use GetFormattedXAML instead.")]
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. |