Partager via


TextToolTipService.SetToolTipOffsets(FrameworkElement, Int32, Int32) Method

Definition

Sets the ToolTipOffsets attribute to the specified values for the given element.

public:
 static void SetToolTipOffsets(System::Windows::FrameworkElement ^ element, int horizontal, int vertical);
public static void SetToolTipOffsets (System.Windows.FrameworkElement element, int horizontal, int vertical);
static member SetToolTipOffsets : System.Windows.FrameworkElement * int * int -> unit
Public Shared Sub SetToolTipOffsets (element As FrameworkElement, horizontal As Integer, vertical As Integer)

Parameters

element
FrameworkElement

The element to set the ToolTipOffsets attribute for.

horizontal
Int32

The value to set the ToolTipOffsets horizontal to.

vertical
Int32

The value to set the ToolTipOffsets vertical to.

Applies to