C# Class WinRT_RichTextBlock.Html2Xaml.Properties

Usage: 1) In a XAML file, declare the above namespace, e.g.: xmlns:common="using:WinRT_RichTextBlock.Html2Xaml" 2) In RichTextBlock controls, set or databind the Html property, e.g.: or This is a list:

  • Item 1
  • Item 2
  • Item 3
]]>
Inheritance: Windows.UI.Xaml.DependencyObject
Mostra file Open project: VincentH-Net/WinRT-RichTextBlock.Html2Xaml

Public Properties

Property Type Description
HtmlProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetHtml ( DependencyObject obj ) : string
SetHtml ( DependencyObject obj, string value ) : void

Private Methods

Method Description
ConvertHtmlToXamlRichTextBlock ( string xhtml ) : Task
EncodeXml ( string xml ) : string
HtmlChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

GetHtml() public static method

public static GetHtml ( DependencyObject obj ) : string
obj Windows.UI.Xaml.DependencyObject
return string

SetHtml() public static method

public static SetHtml ( DependencyObject obj, string value ) : void
obj Windows.UI.Xaml.DependencyObject
value string
return void

Property Details

HtmlProperty public_oe static_oe property

public static DependencyProperty,Windows.UI.Xaml HtmlProperty
return Windows.UI.Xaml.DependencyProperty