This is .net framework class which provides a container for Windows toolbar objects. This is used in creating toolbars in Winform application.
Questions tagged [toolstrip]
288 questions
1
vote
2 answers
Unable to create multi line icon captions in C# toolstrip control
I've been trying and trying to get the standard C# toolstrip control to format button text as multiline, and so far I've had to admit defeat.
What I'm trying to achieve is text under the picture, and the text wrapping a fixed icon size, rather than…

T5Dave
- 13
- 1
- 3
1
vote
1 answer
Simulate click on Windows Froms ToolStrip button in another process
I've found the handle of a Windows Forms ToolStrip in another application.
(Window name is toolStrip1, class name is WindowsForms10.Window.8.app.0.378734a.)
Is there any way to enumerate the child buttons, find a button by caption and simulate a…

user1768761
- 105
- 11
1
vote
1 answer
.NET Multiple ToolStripButtons in a single ContextMenuItem
I'm trying to create a ContextMenu where some items in the menu contain more than a single item. You could see it as trying to combine a ToolStrip and ContextMenuItem.
I've tried using a ToolStripControlHost, but this creates problems with the…

PJanssen
- 11
- 1
1
vote
1 answer
Moving the toolbar in ReportViewer to the bottom of the page
Relatively new to ReportViewer in WinForms using C#. What I want to do is to move the toolbar of a report to the bottom. One method to achieve this was supposedly to just drop a toolstrip on the page and build it from the toolbar. Seemed…

Johnny Bones
- 8,786
- 7
- 52
- 117
1
vote
1 answer
toolStripComboBox set font style?
I read this topic http://technicalsol.blogspot.com/2009/03/combobox-set-font-style.html with comboBox but in toolstripComboBox not exist event draw_item
I need your help. I am writing simple wordpad by C#.

giaosudau
- 2,211
- 6
- 33
- 64
1
vote
2 answers
.Net ToolStrip and ImageList - wrong image size
I have an icon that contains 32-bit images of sizes 16x16, 24x24, and 32x32. I create three ImageList objects that contain the three different size images, and assign the ImageList property on my ToolStrip given what size the user selects. However…

Steve
- 11
- 1
- 2
1
vote
3 answers
how to get a list of a toolstrip control inner controls programmatically
I just noticed the hasChildren method doesn't return the various items in a toolstrip, just because its NOT a container I guess.
There is an answer here in SO but it seems to me its far too complicated.
Is there a simple way to iterate through the…

Didier Levy
- 3,393
- 9
- 35
- 57
1
vote
1 answer
How add my ImageButton to ToolStrip
Create IMageButton and add to toolstrip:
ImageButton imageButton1 = new ImageButton();
toolstrip.Items.AddRange(new System.Windows.Forms.ToolStripItem[] {
imageButton1});
crash error
Error 1 Cannot implicitly convert type
…

Mediator
- 14,951
- 35
- 113
- 191
1
vote
1 answer
Show CheckBox on ToolStripButton
I know that the ToolStripButton has checkbox functionality and should be used when you need a checkbox on a ToolStrip. However, the blue outline that appears to be the only indication of being Checked doesn't exactly scream "Hey, this is a…

Trevortni
- 688
- 8
- 23
1
vote
4 answers
Add checked = true via programming
I have been adding items to tool strip by programming but the issue is that I need to add checked property to it. Do not know how to do so.
Here is the code:
toolStripMenuItemAudioSampleRate.DropDownItems.Add("8 kHz", null, new…

Afnan Bashir
- 7,319
- 20
- 76
- 138
1
vote
2 answers
ToolStripMenuItem show sub menu on Mouse hover in Windows Forms
I am having a windows form menu strip control. And having ToolStripMenu Item with text of "Click Me". Now i want to display its sub menu toolstrip items on Mouse Hover Event of the "Click Me" ToolStrip. Can any one suggest how its can be done.
Here…

Deepak Gupta
- 73
- 1
- 5
1
vote
1 answer
Spring-like property on MenuStrip
Is there any Spring-like property for ToolStripMenuItem? I've used the Spring property on a ToolStripItem?
What I want is a label to act as a separator that pushes a few buttons to the far right of a MenuStrip, like shown below:
…

David Wheatley
- 426
- 6
- 16
1
vote
2 answers
Prevent showing border of a disabled menu item on mouse hover
When I hover over a ToolStripMenuItem, it shows a border around it even when it is disabled. Is there any property to remove this?
I've looked for properties like Hover or Border but haven't found anything of use.

David Wheatley
- 426
- 6
- 16
1
vote
0 answers
C# .Net 3.5 Can't type ']' in toolstrip text box
Good morning,
I have a winform application which includes:
Main Form with a toolstrip menu and a toolstrip bar
Inside the main form, a tab control, where each tab contains a toolstrip bar with a toolstrip text box
I need to enter text in the…

bui3
- 123
- 11
1
vote
1 answer
How to render graphics on ToolStrip
I have created a custom user control that will display text and an indicator light to display the current running status of our service as shown in the form below. It works just fine on a form, but I want to put it on a StatusStrip control. I…

tdemay
- 649
- 8
- 23