C# Class CK.WPF.Controls.TextBlockService

Show file Open project: Invenietis/ck-certified

Public Properties

Property Type Description
AutomaticToolTipEnabledProperty System.Windows.DependencyProperty
IsTextTrimmedKey System.Windows.DependencyPropertyKey
IsTextTrimmedProperty System.Windows.DependencyProperty

Public Methods

Method Description
OnTextBlockSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
SetAutomaticToolTipEnabled ( DependencyObject element, bool value ) : void

Private Methods

Method Description
CalculateIsTextTrimmed ( System.Windows.Controls.TextBlock textBlock ) : bool
GetAutomaticToolTipEnabled ( DependencyObject element ) : bool
GetIsTextTrimmed ( System.Windows.Controls.TextBlock target ) : System.Boolean
SetIsTextTrimmed ( System.Windows.Controls.TextBlock textBlock, bool isTrimmed ) : void
TextBlockService ( ) : System

Method Details

OnTextBlockSizeChanged() public static method

public static OnTextBlockSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
sender object
e System.Windows.SizeChangedEventArgs
return void

SetAutomaticToolTipEnabled() public static method

public static SetAutomaticToolTipEnabled ( DependencyObject element, bool value ) : void
element System.Windows.DependencyObject
value bool
return void

Property Details

AutomaticToolTipEnabledProperty public static property

public static DependencyProperty,System.Windows AutomaticToolTipEnabledProperty
return System.Windows.DependencyProperty

IsTextTrimmedKey public static property

public static DependencyPropertyKey,System.Windows IsTextTrimmedKey
return System.Windows.DependencyPropertyKey

IsTextTrimmedProperty public static property

public static DependencyProperty,System.Windows IsTextTrimmedProperty
return System.Windows.DependencyProperty