C# Class CK.WPF.Controls.TextBlockService

Datei anzeigen 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_oe static_oe property

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

IsTextTrimmedKey public_oe static_oe property

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

IsTextTrimmedProperty public_oe static_oe property

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