'Declaration Public Overloads Sub ShowToolTip( _ ByVal control As Control, _ ByVal excludeControlBounds As Boolean _ )
public void ShowToolTip( Control control, bool excludeControlBounds )
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 lblShowToolTip2_MouseHover(ByVal sender As Object, ByVal e As System.EventArgs) Handles lblShowToolTip2.MouseHover Dim label As UltraLabel = DirectCast(sender, UltraLabel) ' Show the ToolTip Me.ultraToolTipManager1.ShowToolTip(label, True) End Sub
using Infragistics.Win; using Infragistics.Win.UltraWinToolTip; private void lblShowToolTip2_MouseHover(object sender, System.EventArgs e) { UltraLabel label = sender as UltraLabel; // Show the ToolTip this.ultraToolTipManager1.ShowToolTip(label, true); }
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