How to show MiniToolBar on any control?
MiniToolBar
You can show the MiniToolBar on any control by using the function named “Show” in MiniToolBar. The function contains the following arguments.
1)Control: It helps to show the MiniToolBar on required control.
2)Position: It helps to specify the location of the MiniToolBar control.
The following code example demonstrates the same.
C#
//To show the MiniToolBar in GridControl with specified location.
void gridControl1_MouseUp(object sender, MouseEventArgs e)
{
this.miniToolBar1.Show(this.gridControl1, this.gridControl1.PointToClient(Control.MousePosition));
}
VB
'To show the MiniToolBar in GridControl with specified location. Private Sub gridControl1_MouseUp(ByVal sender As Object, ByVal e As MouseEventArgs) Me.miniToolBar1.Show(Me.gridControl1, Me.gridControl1.PointToClient(Control.MousePosition)) End Sub

Figure 1. MiniToolBar shows on GridControl
Samples: