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: FrameworkElementThe element to set the ToolTipPlacement attribute for.
mode
Type: PlacementModeThe value to set the ToolTipPlacement attribute to.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.