C# Class Panuon.UI.Silver.TextBlockHelper

Mostrar archivo Open project: PanuonOrg/Panuon.UI.Silver

Public Properties

Property Type Description
HighlightBackgroundProperty DependencyProperty
HighlightForegroundProperty DependencyProperty
HighlightRuleProperty DependencyProperty
HighlightTextProperty DependencyProperty

Public Methods

Method Description
GetHighlightBackground ( TextBlock textBlock ) : Brush
GetHighlightForeground ( TextBlock textBlock ) : Brush
GetHighlightRule ( TextBlock textBlock ) : HighlightRule
GetHighlightText ( TextBlock textBlock ) : string
SetHighlightBackground ( TextBlock textBlock, Brush value ) : void
SetHighlightForeground ( TextBlock textBlock, Brush value ) : void
SetHighlightRule ( TextBlock textBlock, HighlightRule value ) : void
SetHighlightText ( TextBlock textBlock, string value ) : void

Private Methods

Method Description
OnHighlightTextChanged ( DependencyObject d, DependencyPropertyChangedEventArgs e ) : void

Method Details

GetHighlightBackground() public static method

public static GetHighlightBackground ( TextBlock textBlock ) : Brush
textBlock TextBlock
return Brush

GetHighlightForeground() public static method

public static GetHighlightForeground ( TextBlock textBlock ) : Brush
textBlock TextBlock
return Brush

GetHighlightRule() public static method

public static GetHighlightRule ( TextBlock textBlock ) : HighlightRule
textBlock TextBlock
return HighlightRule

GetHighlightText() public static method

public static GetHighlightText ( TextBlock textBlock ) : string
textBlock TextBlock
return string

SetHighlightBackground() public static method

public static SetHighlightBackground ( TextBlock textBlock, Brush value ) : void
textBlock TextBlock
value Brush
return void

SetHighlightForeground() public static method

public static SetHighlightForeground ( TextBlock textBlock, Brush value ) : void
textBlock TextBlock
value Brush
return void

SetHighlightRule() public static method

public static SetHighlightRule ( TextBlock textBlock, HighlightRule value ) : void
textBlock TextBlock
value HighlightRule
return void

SetHighlightText() public static method

public static SetHighlightText ( TextBlock textBlock, string value ) : void
textBlock TextBlock
value string
return void

Property Details

HighlightBackgroundProperty public_oe static_oe property

public static DependencyProperty HighlightBackgroundProperty
return DependencyProperty

HighlightForegroundProperty public_oe static_oe property

public static DependencyProperty HighlightForegroundProperty
return DependencyProperty

HighlightRuleProperty public_oe static_oe property

public static DependencyProperty HighlightRuleProperty
return DependencyProperty

HighlightTextProperty public_oe static_oe property

public static DependencyProperty HighlightTextProperty
return DependencyProperty