Show / Hide Table of Contents

Class ToolTip

Provides attached properties for tooltip behavior

Inheritance
System.Object
ToolTip
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Presentation.Controls
Assembly: Sartorius.SAF.Presentation.Controls.dll
Syntax
public static class ToolTip

Fields

View Source

IsAutomaticProperty

Defines the IsAutomatic System.Windows.DependencyProperty

Declaration
public static readonly DependencyProperty IsAutomaticProperty
Field Value
Type Description
System.Windows.DependencyProperty

Methods

View Source

GetIsAutomatic(DependencyObject)

Gets a value indicating whether a tooltip should be automatically displayed for System.Windows.Controls.TextBlocks with trimmed content.

Declaration
public static bool GetIsAutomatic(DependencyObject element)
Parameters
Type Name Description
System.Windows.DependencyObject element

The element.

Returns
Type Description
System.Boolean

True if a tooltip showing the current content is shown when this content is trimmed.

See Also
System.Windows.Controls.TextBlock.TextTrimming
System.Windows.TextTrimming
View Source

SetIsAutomatic(DependencyObject, Boolean)

Sets a value indicating whether a tooltip should be automatically displayed for System.Windows.Controls.TextBlocks with trimmed content.

Declaration
public static void SetIsAutomatic(DependencyObject element, bool value)
Parameters
Type Name Description
System.Windows.DependencyObject element

The element.

System.Boolean value

If true a text block will show a tooltip with it's current content if the content is currently trimmed.

See Also
System.Windows.Controls.TextBlock.TextTrimming
System.Windows.TextTrimming
  • View Source
Back to top Generated by DocFX