Version

GetToolTipInfo Method

Invoked when the tooltip information for an element is required.
Syntax
'Declaration
 
Function GetToolTipInfo( _
   ByVal mousePosition As Point, _
   ByVal element As UIElement, _
   ByVal previousToolTipElement As UIElement, _
   ByVal toolTipInfoDefault As ToolTipInfo _
) As ToolTipInfo

Parameters

mousePosition
Current mouse position
element
Element for which the tooltip will be displayed
previousToolTipElement
Previous element that the tooltip was displayed for or null.
toolTipInfoDefault
Default ToolTipInfo structure initialized based on the mouse position. The structure may be modified and returned from the method.

Return Value

The ToolTipInfo for the requested element.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also