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
‘선언
Public Shared Sub SetToolTipPlacement ( _
element As FrameworkElement, _
mode As PlacementMode _
)
public static void SetToolTipPlacement(
FrameworkElement element,
PlacementMode mode
)
Parameters
- element
Type: System.Windows.FrameworkElement
The element to set the ToolTipPlacement attribute for.
- mode
Type: System.Windows.Controls.Primitives.PlacementMode
The 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.