Search Results for

    Show / Hide Table of Contents

    Class TextBlockAutoToolTipBehavior

    Inheritance
    object
    TextBlockAutoToolTipBehavior
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    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
    DependencyProperty

    Methods

    GetAutoTooltip(DependencyObject)

    Gets the value of the AutoTooltipProperty dependency property

    Declaration
    public static bool GetAutoTooltip(DependencyObject obj)
    Parameters
    Type Name Description
    DependencyObject obj
    Returns
    Type Description
    bool

    SetAutoTooltip(DependencyObject, bool)

    Sets the value of the AutoTooltipProperty dependency property

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

    Extension Methods

    WindowsControlUtils.ForWindowFromFrameworkElement(object, Action<Window>)
    In this article
    • Constructors
      • TextBlockAutoToolTipBehavior()
    • Fields
      • AutoTooltipProperty
    • Methods
      • GetAutoTooltip(DependencyObject)
      • SetAutoTooltip(DependencyObject, bool)
    • Extension Methods
    Back to top Generated by DocFX