Partager via


TextToolTipService.SetToolTipPlacement Method

Definition

Sets the ToolTipPlacement attribute to the specified value for the given element.

public:
 static void SetToolTipPlacement(System::Windows::FrameworkElement ^ element, System::Windows::Controls::Primitives::PlacementMode mode);
public static void SetToolTipPlacement (System.Windows.FrameworkElement element, System.Windows.Controls.Primitives.PlacementMode mode);
static member SetToolTipPlacement : System.Windows.FrameworkElement * System.Windows.Controls.Primitives.PlacementMode -> unit
Public Shared Sub SetToolTipPlacement (element As FrameworkElement, mode As PlacementMode)

Parameters

element
FrameworkElement

The element to set the ToolTipPlacement attribute for.

mode
PlacementMode

The value to set the ToolTipPlacement attribute to.

Applies to