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.11.0 (in Microsoft.VisualStudio.Shell.11.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

.NET Framework Security

See Also

Reference

TextToolTipService Class

Microsoft.VisualStudio.PlatformUI Namespace