Returns an object that contains information about tools displayed on the right hand side of the application menu dropdown.
The following code demonstrates how to add tools to the various areas of the application menu.
Imports Infragistics.Win.UltraWinToolbars
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
' Note: The keys used for tools in this example correspond to tools
' that have already been created
' Add the exit button to the footer area of the application menu.
Me.UltraToolbarsManager1.Ribbon.ApplicationMenu.FooterToolbar.Tools.AddTool("Exit")
' Add the open button to the left side of the application menu.
Me.UltraToolbarsManager1.Ribbon.ApplicationMenu.ToolAreaLeft.Tools.AddTool("Open")
' Add a button corresponding to a recently used document to the
' right side of the application menu
Me.UltraToolbarsManager1.Ribbon.ApplicationMenu.ToolAreaRight.Tools.AddTool("RecentDoc1")
End Sub
using System.Windows.Forms;
using Infragistics.Win.UltraWinToolbars;
private void button1_Click( object sender, EventArgs e )
{
// Note: The keys used for tools in this example correspond to tools
// that have already been created
// Add the exit button to the footer area of the application menu.
this.ultraToolbarsManager1.Ribbon.ApplicationMenu.FooterToolbar.Tools.AddTool( "Exit" );
// Add the open button to the left side of the application menu.
this.ultraToolbarsManager1.Ribbon.ApplicationMenu.ToolAreaLeft.Tools.AddTool( "Open" );
// Add a button corresponding to a recently used document to the
// right side of the application menu
this.ultraToolbarsManager1.Ribbon.ApplicationMenu.ToolAreaRight.Tools.AddTool( "RecentDoc1" );
}
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