Share via


TextToolTipService.SetToolTipPlacement Method

Sets the ToolTipPlacement attribute to the specified value 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 SetToolTipPlacement ( _
    element As FrameworkElement, _
    mode As PlacementMode _
)
public static void SetToolTipPlacement(
    FrameworkElement element,
    PlacementMode mode
)
public:
static void SetToolTipPlacement(
    FrameworkElement^ element, 
    PlacementMode mode
)
static member SetToolTipPlacement : 
        element:FrameworkElement * 
        mode:PlacementMode -> unit
public static function SetToolTipPlacement(
    element : FrameworkElement, 
    mode : PlacementMode
)

Parameters

  • element
    Type: FrameworkElement

    The element to set the ToolTipPlacement attribute for.

  • mode
    Type: PlacementMode

    The value to set the ToolTipPlacement attribute to.

.NET Framework Security

See Also

Reference

TextToolTipService Class

Microsoft.VisualStudio.PlatformUI Namespace