Compartir a través de


TextToolTipService.SetToolTipOffsets Method

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

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.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

  • element
    Type: FrameworkElement

    The element to set the ToolTipOffsets attribute for.

  • horizontal
    Type: Int32

    The value to set the ToolTipOffsets horizontal to.

  • vertical
    Type: Int32

    The value to set the ToolTipOffsets vertical to.

.NET Framework Security

See Also

Reference

TextToolTipService Class

Microsoft.VisualStudio.PlatformUI Namespace