We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to load custom controls in MiniToolBar?

You can load custom controls in MiniToolBar by following the steps.

 

  1. Need to add the ToolStripPanelItem in MiniToolBar Items Collection Editor, as shown in below image.

 

 

Figure 1. Item Collection Editor for MiniToolBar.

  1. Need to host Custom control as ToolStripItem and add it in ToolStripPanelItem.
  2. Need to add the ToolStripPanelItem in MiniToolBar.
  3. Specify the associated control for MiniToolBar.

 

The following code example demonstrates the same.

C#

 

VB

 

Figure 2. Custom controls loaded in MiniToolBar.

Sample Links:

C#: MiniToolBar_CustomControl_C#

VB: MiniToolBar_CustomControl_VB

Article ID: Published Date: Last Revised Date: Platform: Control:
5556 11/06/2015 11/06/2015 Windows Forms MiniToolBar
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.