C# Class AlgoliaSearch.HTMLBinding

Mostrar archivo Open project: algolia/HTMLBinding

Public Properties

Property Type Description
HighlightBrushProperty Windows.UI.Xaml.DependencyProperty
TextProperty Windows.UI.Xaml.DependencyProperty

Public Methods

Method Description
GetHighlightBrush ( TextBlock element ) : Brush
GetText ( TextBlock element ) : string
SetHighlightBrush ( TextBlock element, Brush value ) : void
SetText ( TextBlock element, string value ) : void

Private Methods

Method Description
OnHighlightBrushChangedCallback ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void
OnTextChangedCallback ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

GetHighlightBrush() public static method

public static GetHighlightBrush ( TextBlock element ) : Brush
element Windows.UI.Xaml.Controls.TextBlock
return Windows.UI.Xaml.Media.Brush

GetText() public static method

public static GetText ( TextBlock element ) : string
element Windows.UI.Xaml.Controls.TextBlock
return string

SetHighlightBrush() public static method

public static SetHighlightBrush ( TextBlock element, Brush value ) : void
element Windows.UI.Xaml.Controls.TextBlock
value Windows.UI.Xaml.Media.Brush
return void

SetText() public static method

public static SetText ( TextBlock element, string value ) : void
element Windows.UI.Xaml.Controls.TextBlock
value string
return void

Property Details

HighlightBrushProperty public_oe static_oe property

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

TextProperty public_oe static_oe property

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