C# Class ArcGISPortalViewer.Popup.Converters.HtmlToTextConverter

Inheritance: IValueConverter
Datei anzeigen Open project: Esri/arcgis-portalviewer-dotnet

Public Properties

Property Type Description
HtmlToInlinesProperty Windows.UI.Xaml.DependencyProperty
HtmlToWebViewProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
Convert ( object value, Type targetType, object parameter, string language ) : object
ConvertBack ( object value, Type targetType, object parameter, string language ) : object
GetHtmlToInlines ( DependencyObject obj ) : string
GetHtmlToWebView ( DependencyObject obj ) : string
SetHtmlToInlines ( DependencyObject obj, string value ) : void
SetHtmlToWebView ( DependencyObject obj, string value ) : void

Private Methods

Method Description
CreateInlineCollection ( string newValue ) : List
IsHtmlTag ( string str ) : bool
OnHtmlToInlinesPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnHtmlToWebViewPropertyChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
SetParagraphInlineCollection ( Paragraph p, List newValue ) : void
ToStrippedHtmlText ( object input ) : string
WriteLineBreak ( List inlines, int &line_break_counter ) : void

Method Details

Convert() public method

public Convert ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
return object

ConvertBack() public method

public ConvertBack ( object value, Type targetType, object parameter, string language ) : object
value object
targetType System.Type
parameter object
language string
return object

GetHtmlToInlines() public static method

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

GetHtmlToWebView() public static method

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

SetHtmlToInlines() public static method

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

SetHtmlToWebView() public static method

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

Property Details

HtmlToInlinesProperty public_oe static_oe property

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

HtmlToWebViewProperty public_oe static_oe property

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