Property | Type | Description | |
---|---|---|---|
AutomaticToolTipEnabledProperty | |||
IsTextTrimmedKey | System.Windows.DependencyPropertyKey | ||
IsTextTrimmedProperty |
Method | Description | |
---|---|---|
OnTextBlockSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void |
Event handler for TextBlock's SizeChanged routed event. Triggers evaluation of the IsTextTrimmed attached property.
|
|
SetAutomaticToolTipEnabled ( |
Sets the current effective value of the AutomaticToolTipEnabled attached property.
|
Method | Description | |
---|---|---|
CalculateIsTextTrimmed ( System.Windows.Controls.TextBlock textBlock ) : bool |
Determines whether or not the text in textBlock is currently being trimmed due to width or height constraints. Does not work properly when TextWrapping is set to WrapWithOverflow. |
|
GetAutomaticToolTipEnabled ( |
||
GetIsTextTrimmed ( System.Windows.Controls.TextBlock target ) : bool | ||
SetIsTextTrimmed ( System.Windows.Controls.TextBlock target, bool value ) : void |
Sets the instance value of read-only dependency property IsTextTrimmed.
|
|
TextBlockTrimmedTooltip ( ) : System |
public static OnTextBlockSizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void | ||
sender | object | Object where the event handler is attached |
e | System.Windows.SizeChangedEventArgs | Event data |
return | void |
public static SetAutomaticToolTipEnabled ( |
||
element | ||
value | bool | |
return | void |
public static DependencyProperty,System.Windows AutomaticToolTipEnabledProperty | ||
return |
public static DependencyPropertyKey,System.Windows IsTextTrimmedKey | ||
return | System.Windows.DependencyPropertyKey |