I assume that you mean a text button button that contains not only the image, but also the text. So:
ToolBar toolbar = new ToolBar(); Button button = new Button(); button.Text = "Hi!"; button.Image = Image.FromFile("Your image path");//or from resource.. toolbar.Add(button); this.Controls.Add(toolbar);
Edit: Since you mean ToolStrip , you can do:
string text = "Hi"; Image image = Image.FromFile("Your image path"); ToolStripButton toolButton = new ToolStripButton(text, image); toolButton.TextImageRelation = TextImageRelation.Overlay;
Edit:
It looks like a menu item (a shortcut that is highlighted when the mouse is finished), and not a standard button.
Unfortunately, what Microsoft provided. if you don't like it, inherit ToolStripItem and create your own.
Also note that you can use toolButton.BackgroundImage , but it also will not give you the same effect as a regular Button .
source share