Imports Infragistics.Win.UltraWinToolbars Private Sub button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles button1.Click ' Don't automatically show the mini toolbar when a context menu is shown Me.UltraToolbarsManager1.MiniToolbar.AutoShow = MiniToolbarAutoShow.Never ' All tools in the mini toolbar should be on one horizontal row Me.UltraToolbarsManager1.MiniToolbar.ToolRowCount = 1 ' Show the mini toobar at a screen location of 100, 100 Me.UltraToolbarsManager1.MiniToolbar.Show(New Point(100, 100)) End Sub
using System.Windows.Forms; using Infragistics.Win.UltraWinToolbars; private void button1_Click( object sender, EventArgs e ) { // Don't automatically show the mini toolbar when a context menu is shown this.ultraToolbarsManager1.MiniToolbar.AutoShow = MiniToolbarAutoShow.Never; // All tools in the mini toolbar should be on one horizontal row this.ultraToolbarsManager1.MiniToolbar.ToolRowCount = 1; // Show the mini toobar at a screen location of 100, 100 this.ultraToolbarsManager1.MiniToolbar.Show( new Point( 100, 100 ) ); }