Articles in this section
Category / Section

How to display custom controls inside the ToolStripDropDownButton in ToolStripEx?

1 min read

Display custom controls

Custom controls can be displayed inside ToolStripDropDownButton in ToolStripEx using ToolStripControlHost class.

C#

//Adding controls to ToolStripEx
toolStripDropDownDotNet.Items.Add (new ToolStripControlHost (new DTPWithDotNet ()));

VB

 ‘Adding controls to ToolStripEx
  toolStripDropDownDotNet.Items.Add (New ToolStripControlHost (New DTPWithDotNet ()))

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied