Search Results for

    Show / Hide Table of Contents

    Class TextBlockAutoToolTipBehavior

    Inheritance
    System.Object
    TextBlockAutoToolTipBehavior
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Sdl.Desktop.Platform.Controls.Behaviours
    Assembly: Sdl.Desktop.Platform.Controls.dll
    Syntax
    public class TextBlockAutoToolTipBehavior

    Constructors

    TextBlockAutoToolTipBehavior()

    Declaration
    public TextBlockAutoToolTipBehavior()

    Fields

    AutoTooltipProperty

    Identified the attached AutoTooltip property. When true, this will set the TextBlock TextTrimming property to WordEllipsis, and display a tooltip with the full text whenever the text is trimmed.

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

    Methods

    GetAutoTooltip(DependencyObject)

    Gets the value of the AutoTooltipProperty dependency property

    Declaration
    public static bool GetAutoTooltip(DependencyObject obj)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    Returns
    Type Description
    System.Boolean

    SetAutoTooltip(DependencyObject, Boolean)

    Sets the value of the AutoTooltipProperty dependency property

    Declaration
    public static void SetAutoTooltip(DependencyObject obj, bool value)
    Parameters
    Type Name Description
    System.Windows.DependencyObject obj
    System.Boolean value

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(Object, Action<Window>)

    On this page

    • Constructors
      • TextBlockAutoToolTipBehavior()
    • Fields
      • AutoTooltipProperty
    • Methods
      • GetAutoTooltip(DependencyObject)
      • SetAutoTooltip(DependencyObject, Boolean)
    • Extension Methods
    Back to top Generated by DocFX