Click here to Skip to main content
13,800,326 members

Silverlight / WPF

 
QuestionMVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 2:58
memberMember 137073829-Dec-12 2:58 
AnswerRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
SledgeHammer0129-Dec-12 8:22
memberSledgeHammer0129-Dec-12 8:22 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 16:44
memberMember 137073829-Dec-12 16:44 
Thank you very much, SledgeHammer01.

My issue is the ListBox1 MenuItem Command binded in ListBoxItem ContextMenu MenuItem does not work. But MenuItem Command in ListBox2 can work well.

I don't know why. In my project, I need dynamically bind the menu itms just like in ListBox1 used.

Could you please help check it? thanks a lot.
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
SledgeHammer0129-Dec-12 17:26
memberSledgeHammer0129-Dec-12 17:26 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 18:00
memberMember 137073829-Dec-12 18:00 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
SledgeHammer0129-Dec-12 18:25
memberSledgeHammer0129-Dec-12 18:25 
GeneralRe: MVVM:How to bind the MenuItem Command of ListBoxItem ContextMenu dynamically? Pin
Member 137073829-Dec-12 20:02
memberMember 137073829-Dec-12 20:02 
Questionmm Pin
Aishwarya aishu28-Dec-12 1:44
memberAishwarya aishu28-Dec-12 1:44 
AnswerRe: mm Pin
Richard MacCutchan28-Dec-12 6:59
protectorRichard MacCutchan28-Dec-12 6:59 
Generalsiverlight Pin
Aishwarya aishu28-Dec-12 1:42
memberAishwarya aishu28-Dec-12 1:42 
GeneralRe: siverlight Pin
Richard MacCutchan28-Dec-12 6:57
protectorRichard MacCutchan28-Dec-12 6:57 
QuestionDataTrigger bind to a Property Pin
mbv80023-Dec-12 18:01
membermbv80023-Dec-12 18:01 
AnswerRe: DataTrigger bind to a Property Pin
Pete O'Hanlon23-Dec-12 20:17
protectorPete O'Hanlon23-Dec-12 20:17 
AnswerRe: DataTrigger bind to a Property Pin
Wayne Gaylard23-Dec-12 20:39
mentorWayne Gaylard23-Dec-12 20:39 
QuestionWPF Adorner Issues Pin
John Simmons / outlaw programmer17-Dec-12 11:52
professionalJohn Simmons / outlaw programmer17-Dec-12 11:52 
AnswerRe: WPF Adorner Issues Pin
SledgeHammer0118-Dec-12 5:49
memberSledgeHammer0118-Dec-12 5:49 
GeneralRe: WPF Adorner Issues Pin
John Simmons / outlaw programmer20-Dec-12 10:09
professionalJohn Simmons / outlaw programmer20-Dec-12 10:09 
GeneralRe: WPF Adorner Issues Pin
SledgeHammer0121-Dec-12 5:50
memberSledgeHammer0121-Dec-12 5:50 
QuestionSilverlight Dynamic indexed binding Pin
Member 934221816-Dec-12 19:02
memberMember 934221816-Dec-12 19:02 
QuestionThird Party Controls Pin
Kevin Marois11-Dec-12 8:22
professionalKevin Marois11-Dec-12 8:22 
AnswerRe: Third Party Controls Pin
Mycroft Holmes11-Dec-12 13:06
memberMycroft Holmes11-Dec-12 13:06 
AnswerRe: Third Party Controls Pin
Pete O'Hanlon11-Dec-12 13:43
protectorPete O'Hanlon11-Dec-12 13:43 
GeneralRe: Third Party Controls Pin
Kevin Marois12-Dec-12 9:28
professionalKevin Marois12-Dec-12 9:28 
GeneralRe: Third Party Controls Pin
Pete O'Hanlon12-Dec-12 9:29
protectorPete O'Hanlon12-Dec-12 9:29 
GeneralRe: Third Party Controls Pin
Kevin Marois12-Dec-12 9:30
professionalKevin Marois12-Dec-12 9:30 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.


Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.181214.1 | Last Updated 13 Dec 2018
Copyright © CodeProject, 1999-2018
All Rights Reserved.
Layout: fixed | fluid