Reputation: 34188
When we place a menu control in a form it attaches to the form at the top. Suppose there is a panel in my form and I want to attach a menu control to it rather than the form. How could i do it? Please help me to achieve it.
thanks
Upvotes: 1
Views: 2711
Reputation: 32258
Click on your menu strip. Cut it. Ctrl+X. Click on your panel. Paste it. Ctrl+V.
The menu will persist it's docked property, which is defaulted to the Top of the parent control.
Upvotes: 3
Reputation: 1631
You just place the menu strip inside a panel. Nothing fancy as by default the Dock property is set to "Top".
Upvotes: 3