how to create a vertical menu bar with drop down items in vb.net - vb.net

Is it possible to create a vertical menu bar with drop down items?
I have created a vertical menu using buttons and placed them into a panel and assigning the panel's dock property to left, but couldn't find a way to add drop down items to each button.
Can someone help how to create dropdown items?

Like this? You can find MenuStrip Tool in Toolbox. Add it to the form. Right-click and select Edit Items.... You can add MenuItem (Menu1 in my example), and add SubMenus from Menu1 Property's DropDownItems.

Related

Devexpress Form With Header Panel (Title) and Menu Below Panel

Can someone give me insight how can I achieve the form with panel title first and then menu bar below panel (barmanager). Because devexpress always put barmanager on top
Thank you
EDIT :
After I add standalonebardock, the result as picture shown below: the red bar is standalonebardock
UPDATE :
After I drag the barmanager menu into standalonedock, now it is already inside the dock. But the menu still on top docking, what I need how to make space above menu so I can write title/image/etc
The StandaloneBarDockControl control allows bars to be displayed at any position within the form, not simply docked to the form’s edge. To do this, create a StandaloneBarDockControl object and add bars to it. Bars can be added to the control at design time or runtime.

Placing existing textboxes into a toolbar

I was wondering if there is any way to place existing text boxes into a toolbar in Visual Basic 2010. These text boxes are also linked to a database.
I need a way to have the textboxes on display when any tabpage is selected, therefore I thought perhaps having them in a toolbar above the tab bar would be a solution to the problem.
Many thanks.
I don't see why not how about a panel aligned on top of form. You can position the top of the TabControl wherever you want.

ComboBox Custom Winrt

I'm trying to create a app bar in Winrt app on top with, maybe, a ComboBox. I want to do like "Bing Sport" App in Windows 8. Like :
http://i.imgur.com/5XNjYAe.png
http://i.imgur.com/CO0dV6H.png
What's the best way to do that?
Thanks
I think the best way is write your own code.
1) Create a AppBar.
2) Create a first StackPanel for Menu with Icons(set Orientation to Horizontal)
3) Then Menu Items as Grid's or StackPanel's
4) Add a Grid or StackPanel for slide content.(set visibility to collplased)
5) Handle a Click's events. OnClick Item with Arrow do: "change clicked event style", "set item with slide content Visibility to Visible", "Add Items"

MenuItem in Compact Framework 3.5

Is there anyway to programmatically force a MenuItem to raise their popup event? Basically, if you click on it with your stylus or finger, it shows the MenuItem collection for that specific MenuItem. I'd like to be able to do by using a button that I capture.
If you add your menu items to a ContextMenu you can then call ContextMenu.Show with a position and it will show the context menu at that position.
So you could do that in your button click event. Or did you want to 'fake' taps on the menu buttons on the soft menu bar?

Remove DotNET menu dropdown grey area for icons

How do I remove the area in a dropdown menu where the menu item icons are typically displayed?
DropDownMenuGreyAreaHeadAche http://en.wiki.mcneel.com/content/upload/images/MenuImageBar.png
I just need to remove the grey area in this particular dropdown, other dropdowns of menu items in the same menu bar need to retain this area because they do have icons.
Edit: This is WinForms.
You just need to set the ShowImageMargin property of the menu to false