Version

ToolTipText Property (UltraExplorerBarGroup)

Returns/sets the text used to display tooltips. If no text is specified then the contents of the UltraExplorerBarGroup’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 UltraExplorerBarGroup’s text is fully visible.

Otherwise, the tooltip is displayed only when the Group's text is not fully displayed by its header.

Example
The following code iterates through each group in the control looking for a group with the key of 'Options' and no tooltip text. When it finds such a group it sets the ToolTipText to 'Drawing Options'. (Note that this sample is designed to show how to use the Group's Key property. An easier way to accomplish the same thing would be to access the Groups collection via the key (group keys are unique across all groups) and check the ToolTipText)s

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


	Private Sub Button30_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button30.Click

		' For every Group that has a Key of "Options" and no tooltip text, set the tooltip text to "Drawing Options"
		Dim group As UltraExplorerBarGroup

		For Each group In Me.ultraExplorerBar1.Groups
			If (group.Key = "Options" AndAlso group.ToolTipText.Length = 0) Then
				group.ToolTipText = "Drawing Options"
			End If
		Next

	End Sub
using System.Diagnostics;
using Infragistics.Win;
using Infragistics.Win.UltraWinExplorerBar;


		private void button30_Click(object sender, System.EventArgs e)
		{
			// For every Group that has a Key of "Options" and no tooltip text, set the tooltip text to "Drawing Options"
			foreach(UltraExplorerBarGroup group in this.ultraExplorerBar1.Groups)
			{
				if (group.Key == "Options" && group.ToolTipText.Length == 0)
					group.ToolTipText = "Drawing Options";
			}
		}
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