Show / Hide Table of Contents

Class HTMLfromXAMLConverter

This is a static class that takes an XAML string and converts it into HTML

Inheritance
object
HTMLfromXAMLConverter
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: MarkupConverter
Assembly: Aruba.Utilities.MarkupConverter.dll
Syntax
public static class HTMLfromXAMLConverter

Methods

View Source

ConvertXAMLtoHTML(string, bool, bool)

Main entry point for Xaml to Html converter. Converts a xaml string into html string.

Declaration
public static string ConvertXAMLtoHTML(string xamlString, bool asFullDocument, bool asFlowDocument = false)
Parameters
Type Name Description
string xamlString

Xaml string to convert.

bool asFullDocument

Allow html with HTML and BODY tag.

bool asFlowDocument

Whether to surround xamlString with the FlowDocument tag.

Returns
Type Description
string

Html string produced from a source xaml.

  • View Source
In this article
Back to top Generated by DocFX