Share via


TextToolTipService.SetToolTipOffsets Method

Sets the ToolTipOffsets attribute to the specified values for the given element.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'Declaration
Public Shared Sub SetToolTipOffsets ( _
    element As FrameworkElement, _
    horizontal As Integer, _
    vertical As Integer _
)
public static void SetToolTipOffsets(
    FrameworkElement element,
    int horizontal,
    int vertical
)
public:
static void SetToolTipOffsets(
    FrameworkElement^ element, 
    int horizontal, 
    int vertical
)
static member SetToolTipOffsets : 
        element:FrameworkElement * 
        horizontal:int * 
        vertical:int -> unit
public static function SetToolTipOffsets(
    element : FrameworkElement, 
    horizontal : int, 
    vertical : int
)

Parameters

  • horizontal
    Type: System.Int32

    The value to set the ToolTipOffsets horizontal to.

  • vertical
    Type: System.Int32

    The value to set the ToolTipOffsets vertical to.

.NET Framework Security

See Also

Reference

TextToolTipService Class

Microsoft.VisualStudio.PlatformUI Namespace