Gets a toolbar which displays some context based tools depending on where the mouse is located.
The following code demonstrates how to control and show the mini toolbar.
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
'Declaration
Public ReadOnly Property MiniToolbar As MiniToolbar
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 ) );
}
'Declaration
Public ReadOnly Property MiniToolbar As MiniToolbar
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