Method | Description | |
---|---|---|
ConvertXamlToHtml ( string xamlString ) : string | ||
ConvertXamlToHtml ( string xamlString, bool asFlowDocument ) : string |
Main entry point for Xaml-to-Html converter. Converts a xaml string into html string.
|
Method | Description | |
---|---|---|
AddComplexProperty ( |
Conberts an element notation of complex property into
|
|
ParseXamlColor ( string color ) : string | ||
ParseXamlThickness ( string thickness ) : string | ||
ReadNextToken ( XmlReader xamlReader ) : bool |
Reads several items from xamlReader skipping all non-significant stuff.
|
|
WriteElement ( |
Converts a xaml element into an appropriate html element.
|
|
WriteElementContent ( |
Reads a content of current xaml element, converts it
|
|
WriteFlowDocument ( |
Processes a root level element of XAML (normally it's FlowDocument element).
|
|
WriteFormattingProperties ( |
Reads attributes of the current xaml element and converts them into appropriate html attributes or css styles.
|
public static ConvertXamlToHtml ( string xamlString ) : string | ||
xamlString | string | |
return | string |
public static ConvertXamlToHtml ( string xamlString, bool asFlowDocument ) : string | ||
xamlString | string | /// Xaml strinng to convert. /// |
asFlowDocument | bool | |
return | string |