The version that you requested is unavailable. We've redirected you to the latest version of the help.
Version
Is this content useful?
Thank you for your feedback!
Thank you for your feedback! You have rated this topic in the last 30 days.
Display ToolTips for Tools
The WinToolbarsManager™ component has the functionality to display tooltips when the user mouses over a tool.
Tooltips can be displayed by setting the ShowTooltips property to true, and will not be displayed when the ShowTooltips property is False. The text for the tooltip can be specified for each tool by setting the TooltipText property. If there is no value set for the TooltipText property, then the value set for the Caption property of the tool will be displayed as the tooltip. If neither of these properties are set, then no tooltip will be displayed.
In Visual Basic:
Imports Infragistics.Win.UltraWinToolbars
...
Private Sub Display_ToolTips_for_Tools_Load(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
' Caption property is displayed as the tooltip
Me.UltraToolbarsManager1.ShowToolTips = True
Dim btnNew As New ButtonTool("New")
Me.UltraToolbarsManager1.Tools.Add(btnNew)
Me.UltraToolbarsManager1.Toolbars(0).Tools.Add(btnNew)
btnNew.SharedProps.Caption = "New File"
btnNew.SharedProps.ToolTipText = "New File..."
End Sub
In C#:
using Infragistics.Win.UltraWinToolbars;
...
private void Display_ToolTips_for_Tools_Load(object sender, EventArgs e)
{
// Caption property is displayed as the tooltip
this.ultraToolbarsManager1.ShowToolTips = true;
ButtonTool btnNew = new ButtonTool("New");
this.ultraToolbarsManager1.Tools.Add(btnNew);
this.ultraToolbarsManager1.Toolbars[0].Tools.Add(btnNew);
btnNew.SharedProps.Caption = "New File";
btnNew.SharedProps.ToolTipText = "New File...";
}
This page has encountered an error. We've attempted to send the information to the server.