TextToolTipService.SetToolTipOffsets(FrameworkElement, Int32, Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.