Imports Infragistics.Win.UltraWinToolbars
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
' Set the image that appears in the application menu button.
Me.UltraToolbarsManager1.Ribbon.ApplicationMenuButtonImage = New Bitmap("C:\myAppButton.png")
' Set the key tip for the application menu. Key tips will appear when the Alt key is pressed.
' By default, the application menu's key tip is "F"
Me.ultraToolbarsManager1.Ribbon.ApplicationMenu.KeyTip = "A"
' Set the text to appear in the tool tip for the application menu when the cursor
' hovers over the button. This will actually not be seen in this example because
' the ToolTipTextFormatted is being set below, which shows instead of the the ToolTipText
' if it is set.
Me.ultraToolbarsManager1.Ribbon.ApplicationMenu.ToolTipText = "Application Menu"
' Set the formatted text to appear. You can edit this property with the formatted text editor
' and use many formatting tags used in HTML. If both ToolTipTextFormatted and ToolTipText are
' set, only the ToolTipTextFormatted will be seen.
Me.UltraToolbarsManager1.Ribbon.ApplicationMenu.ToolTipTextFormatted = _
"This is the application menu and you should <B>Click It!!!</B>"
' Set the title of the tool tip. This will appear in bold above the tool tip text (or formatted text)
Me.UltraToolbarsManager1.Ribbon.ApplicationMenu.ToolTipTitle = "Read the description below"
End Sub