Click here to Skip to main content
15,390,899 members
Home / Discussions / C#
   

C#

 
GeneralRe: c# parser questions. Pin
elfenliedtopfan518-Jul-16 3:31
Memberelfenliedtopfan518-Jul-16 3:31 
GeneralRe: c# parser questions. Pin
OriginalGriff18-Jul-16 4:11
mveOriginalGriff18-Jul-16 4:11 
GeneralRe: c# parser questions. Pin
elfenliedtopfan518-Jul-16 7:24
Memberelfenliedtopfan518-Jul-16 7:24 
GeneralRe: c# parser questions. Pin
OriginalGriff18-Jul-16 8:02
mveOriginalGriff18-Jul-16 8:02 
GeneralRe: c# parser questions. Pin
elfenliedtopfan518-Jul-16 9:28
Memberelfenliedtopfan518-Jul-16 9:28 
GeneralRe: c# parser questions. Pin
OriginalGriff18-Jul-16 9:33
mveOriginalGriff18-Jul-16 9:33 
GeneralRe: c# parser questions. Pin
elfenliedtopfan518-Jul-16 10:31
Memberelfenliedtopfan518-Jul-16 10:31 
QuestionContextMenu on a MenuItem in ContextMenu possible in WPF? Pin
Imagiv16-Jul-16 4:08
MemberImagiv16-Jul-16 4:08 
Interestingly, I couldn't find anything on this when I googled it. I have a ContextMenu with MenuItems and I want each MenuItem to have their own ContextMenu so I can both left and right click them. Trouble is, when I have code like this:

<MenuItem ContextMenu="{StaticResource MyContextMenu"/>


Right clicking on the MenuItem closes the MenuItem's parent ContextMenu instead of showing the MenuItem's ContextMenu. I've also experimented with adding StaysOpenOnClick="True", but to no effect.

How can I do this? Smile | :)
QuestionRe: ContextMenu on a MenuItem in ContextMenu possible in WPF? Pin
User 1106097916-Jul-16 7:53
MemberUser 1106097916-Jul-16 7:53 
AnswerRe: ContextMenu on a MenuItem in ContextMenu possible in WPF? Pin
Imagiv18-Jul-16 1:19
MemberImagiv18-Jul-16 1:19 
GeneralRe: ContextMenu on a MenuItem in ContextMenu possible in WPF? Pin
User 1106097918-Jul-16 1:28
MemberUser 1106097918-Jul-16 1:28 
GeneralRe: ContextMenu on a MenuItem in ContextMenu possible in WPF? Pin
Imagiv18-Jul-16 2:02
MemberImagiv18-Jul-16 2:02 
GeneralRe: ContextMenu on a MenuItem in ContextMenu possible in WPF? Pin
Pete O'Hanlon18-Jul-16 2:18
mvaPete O'Hanlon18-Jul-16 2:18 
AnswerRe: ContextMenu on a MenuItem in ContextMenu possible in WPF? Pin
Mycroft Holmes16-Jul-16 13:43
professionalMycroft Holmes16-Jul-16 13:43 
Questionno parameterless constructor defined for this object Pin
Gilbert Consellado15-Jul-16 17:36
professionalGilbert Consellado15-Jul-16 17:36 
AnswerRe: no parameterless constructor defined for this object Pin
OriginalGriff15-Jul-16 20:04
mveOriginalGriff15-Jul-16 20:04 
GeneralRe: no parameterless constructor defined for this object Pin
Gilbert Consellado16-Jul-16 0:49
professionalGilbert Consellado16-Jul-16 0:49 
GeneralRe: no parameterless constructor defined for this object Pin
OriginalGriff16-Jul-16 1:48
mveOriginalGriff16-Jul-16 1:48 
GeneralRe: no parameterless constructor defined for this object Pin
Gilbert Consellado16-Jul-16 4:00
professionalGilbert Consellado16-Jul-16 4:00 
GeneralRe: no parameterless constructor defined for this object Pin
OriginalGriff16-Jul-16 4:05
mveOriginalGriff16-Jul-16 4:05 
GeneralRe: no parameterless constructor defined for this object Pin
Gilbert Consellado16-Jul-16 4:30
professionalGilbert Consellado16-Jul-16 4:30 
GeneralRe: no parameterless constructor defined for this object Pin
OriginalGriff16-Jul-16 4:35
mveOriginalGriff16-Jul-16 4:35 
AnswerRe: no parameterless constructor defined for this object Pin
Imagiv16-Jul-16 4:13
MemberImagiv16-Jul-16 4:13 
GeneralRe: no parameterless constructor defined for this object Pin
Gilbert Consellado16-Jul-16 4:43
professionalGilbert Consellado16-Jul-16 4:43 
QuestionHow to load form's content (Controls in form) from XML file Pin
HoaiTamAnh15-Jul-16 15:50
MemberHoaiTamAnh15-Jul-16 15:50 

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.