'Declaration Public Overloads Sub ShowToolTip( _ ByVal control As Control, _ ByVal excludeControlBounds As Boolean, _ ByVal targetPoint As Point _ )
public void ShowToolTip( Control control, bool excludeControlBounds, Point targetPoint )
If there is no ToolTipInfo for the specified control, an System.ArgumentException is raised.
Note: An UltraToolTip will automatically hide when the AutoPopDelay expires, when a mouse button is clicked, or when the HideToolTip Method is called. It will also automatically hide when the mouse leaves the control for which it is shown. So if the mouse is not currently within the control passed into this method, it may cause unexpected results, as a MouseLeave will not occur unless the mouse enters and then leaves the control.
Imports Infragistics.Win Imports Infragistics.Win.UltraWinToolTip Private Sub lblShowToolTip3_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblShowToolTip3.MouseHover Dim label As UltraLabel = DirectCast(sender, UltraLabel) Dim upperLeftCorner As Point = Me.PointToScreen(label.Location) ' Show the ToolTip Me.ultraToolTipManager1.ShowToolTip(label, True, upperLeftCorner) End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinToolTip; private void lblShowToolTip3_MouseHover(object sender, System.EventArgs e) { UltraLabel label = sender as UltraLabel; Point upperLeftCorner = this.PointToScreen(label.Location); // Show the ToolTip this.ultraToolTipManager1.ShowToolTip(label, true, upperLeftCorner); }
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