Version

ToolTipText Property (UltraExplorerBarItem)

Returns/sets the text used to display tooltips. If no text is specified then the contents of the UltraExplorerBarItem’s text property is displayed in the tooltip.
Syntax
'Declaration
 
Public Property ToolTipText As String
public string ToolTipText {get; set;}
Remarks

Whether the tooltip is displayed can be controlled by setting the ShowToolTips property.

Note: If the ToolTipText property is explicitly set, the tooltip is displayed even when the UltraExplorerBarItem’s text is fully visible.

Otherwise, the tooltip is displayed only when the Item's text is not fully displayed.

Example
The following code shows how to use the control's BeginUpdate and EndUpdate to reduce control flicker when adding large numbers of Groups or Items.

Imports System.Diagnostics
Imports Infragistics.Win
Imports Infragistics.Win.UltraWinExplorerBar


	Private Sub Button17_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button17.Click

		' Add some Groups and Items to the control.  Turn off drawing while we do so.
		Me.ultraExplorerBar1.BeginUpdate()

		Dim i As Integer
		For i = 0 To 4
			Dim group As UltraExplorerBarGroup = Me.ultraExplorerBar1.Groups.Add()

			group.Text = "Group " + i.ToString()

			Dim j As Integer
			For j = 0 To 4
				Dim item As UltraExplorerBarItem = group.Items.Add()

				item.Text = "Group " + i.ToString() + " - Item " + j.ToString()
				item.ToolTipText = item.Text
			Next
		Next

		' Turn drawing back on.
		Me.ultraExplorerBar1.EndUpdate()
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinExplorerBar;


		private void button17_Click(object sender, System.EventArgs e)
		{
			// Add some Groups and Items to the control.  Turn off drawing while we do so.
			this.ultraExplorerBar1.BeginUpdate();

			for(int i = 0; i < 5; i++)
			{
				UltraExplorerBarGroup group = this.ultraExplorerBar1.Groups.Add();

				group.Text = "Group " + i.ToString();

				for (int j = 0; j < 5; j++)
				{
					UltraExplorerBarItem item = group.Items.Add();

					item.Text 		= "Group " + i.ToString() + " - Item " + j.ToString();
					item.ToolTipText	= item.Text;
				}
			}

			// Turn drawing back on.
			this.ultraExplorerBar1.EndUpdate();
		}
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