?
Solved

Using WPF and MVVM How Do You Bind Menu Items?

Posted on 2012-08-17
2
Medium Priority
?
646 Views
Last Modified: 2012-08-19
I need to make a menu using WPF and MVVM.  The items need to be bound so when a menu item is clicked it executes a function.

Thanks,

Dan
0
Comment
Question by:danielolorenz
2 Comments
 
LVL 14

Accepted Solution

by:
Vel Eous earned 2000 total points
ID: 38306592
Take a look at the RelayCommand:

http://msdn.microsoft.com/en-us/magazine/dd419663.aspx#id0090030

It should do what you are requesting.
0
 

Author Closing Comment

by:danielolorenz
ID: 38310292
Thanks
0

Featured Post

Vote for the Most Valuable Expert

It’s time to recognize experts that go above and beyond with helpful solutions and engagement on site. Choose from the top experts in the Hall of Fame or on the right rail of your favorite topic page. Look for the blue “Nominate” button on their profile to vote.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
In a question here at Experts Exchange (https://www.experts-exchange.com/questions/29062564/Adobe-acrobat-reader-DC.html), a member asked how to create a signature in Adobe Acrobat Reader DC (the free Reader product, not the paid, full Acrobat produ…
Suggested Courses

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question