Click here to Skip to main content
15,885,036 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
How i can add a Menu in WPF as menustrip in forms
can somebody give an example

thanks in advance
Posted
Comments
Sergey Alexandrovich Kryukov 15-Jan-12 12:35pm    
What happened: MSDN broke, Google banned you? What did you try before asking.
Well, rhetorical questions perhaps.
--SA
Richard MacCutchan 15-Jan-12 12:43pm    
Off topic, I would be interested in your comments on this question.

You just need to use the class System.Windows.Controls.Menu:
http://msdn.microsoft.com/en-us/library/system.windows.controls.menu.aspx[^],
http://msdn.microsoft.com/en-us/library/ms747430.aspx[^].

Find a sample here: http://go.microsoft.com/fwlink/?LinkID=160053[^].

See also:
http://wpftutorial.net/Menus.html[^],
http://www.c-sharpcorner.com/uploadfile/mahesh/menus-in-wpf/[^].

You would find a lot more if you Google, but what if you starts with the articles I referenced it will be quite enough.

—SA
 
Share this answer
 
This helped me to go from WinForms to WPF:
msdn.microsoft.com/en-US/library/ms750559(v=vs.110).aspx


WPF is pretty simple, when you start understanding it :)
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900