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
3
votes
2 answers
toolstripbutton remove lighting
I have a toolstripbutton into my toolstrip, and I wish remove the orange lighting when a mouse is hover, because I change the picture of the button dynamically..
How can I do this?

ghiboz
- 7,863
- 21
- 85
- 131
3
votes
2 answers
ToolStrip.Background only changes button's background (C#/.NET/WinForms)
I want my ToolStrip Background to change when an Item is not saved.
To render the background of my toolstrip I use my own renderer:
class ToolStripRenderer : ToolStripProfessionalRenderer
{
private MenuBarForm parent;
public…

Maiko Kingma
- 929
- 3
- 14
- 29
3
votes
1 answer
Remove the ToolStripMenuItem left border
I have my ToolStripMenuItem and when I run the application, it looks like this:
As you can see, there is a little white space at the ToolStripMenuItem left.
How can I remove it? I tried to edit every property but it still remains...
Thank you all…

Belfed
- 165
- 1
- 13
3
votes
1 answer
How to add DateTimePicker in ToolStrip?
I want to add a datetimepicker to a ToolStrip control to show today's date, so is there any way to add the datetimepicker in ToolStrip?
Example:
Thank you.
user5755765
3
votes
1 answer
AppBar focus issue
I have created an AppBar. The AppBar always stays on top, when it loses focus, then to get back to the AppBar requires two clicks instead of one. I believe the first click activates the form and then with second click I receive the mouse click…

akif
- 12,034
- 24
- 73
- 85
3
votes
1 answer
How do I make a button on a form behave like a button on a toolStrip? VS2008
How do I make a button on a form behave like a button on a toolStrip?
I want a menu-type list to come down. I tried using a toolStripContainer but it is very hard to manipulate to get it to behave as just one button.
Is there an easier way than just…

Chris
- 170
- 1
- 5
3
votes
1 answer
Setting UseMnemonic for ToolstripLabel
I have a ToolstripLabel for which I want to set UseMnemonic to false. But it doesn't have this property. Is there a way to do this?
I tried casting it to label, but it didn't work.

Jerry
- 4,258
- 3
- 31
- 58
3
votes
2 answers
How to customise rendering of a ToolStripTextBox?
I like the ToolStripProfessionalRenderer style quite a lot, but I do not like the way it renders a ToolStripTextBox. Here, ToolStripSystemRenderer does a better job IMO. Now is there a way to combine both renderers' behaviour to use system style for…

ygoe
- 18,655
- 23
- 113
- 210
3
votes
1 answer
C# DragDrop from toolStrip
I'm looking for a way to determine which item in a toolStrip that was dragged after a DragDrop event has occured, all I want to do is make a switch case with different cases for each item in the toolstrip but I cant seem to find a way of comparing…

jlodenius
- 829
- 2
- 13
- 24
3
votes
2 answers
Undocking a ToolStrip from a ToolStripPanel
Out of the box, there doesn't appear to be any built-in support for allowing your end-users to undock the ToolStrips in your applications from their parent ToolStripPanels. Clearly it's possible because even your Visual Studio IDE allows you to…

Yoopergeek
- 5,592
- 3
- 24
- 29
3
votes
1 answer
Why am I getting a vertical line on toolstrip?
I have two Windows Forms toolstrips that contain some controls on a form. However, for some strange reason, they contain a vertical line on the right hand side. I cannot find any property to remove them and I cannot find any other information on how…

Steztric
- 2,832
- 2
- 24
- 43
2
votes
1 answer
What WinForms control corresponds to a VCL (Delphi) TControlBar?
I need a WinForms control that will allow me to add control such as Images and Buttons to it. Preferably the height should be "stretchable," too - I'm trying a ToolStrip control, and it won't allow me to change its height.
Should I be using a Panel…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
2
votes
0 answers
C# - Strange ToolStripMenu behaviour
I have a ToolStripMenu that has a number of sub menus. At any given time ay of the sub menus may be disabled, depending upon the current state of the program.
I have an issue with a particular menu item. I have this menu item disabled, so that the…

Darren Young
- 10,972
- 36
- 91
- 150
2
votes
3 answers
Opening a ContextMenu from a ToolStripMenuItem
I am trying to mimic the behavior of, for example, Windows Explorer and how the Favorites items can launch a context menu.
I currently am using:
contextMenu.Show((sender as ToolStripMenuItem).GetCurrentParent().PointToScreen(e.Location));
This…

Trevor Elliott
- 11,292
- 11
- 63
- 102
2
votes
1 answer
AllowDrop property not working for ToolStripItems
I have successfully created DragDrop functionality with user controls. Now I am trying to allow DragDrop functionality on some components such as ToolStripButton.
The base class, ToolStripItem, supports AllowDrop and the DragEnter/DragDrop…

Trevor Elliott
- 11,292
- 11
- 63
- 102