Click here to Skip to main content
15,867,568 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Newbie (but sort of advanced) Dependency Injection questions... Pin
James McConville6-Jun-11 3:39
James McConville6-Jun-11 3:39 
GeneralRe: Newbie (but sort of advanced) Dependency Injection questions... Pin
SledgeHammer016-Jun-11 6:53
SledgeHammer016-Jun-11 6:53 
GeneralRe: Newbie (but sort of advanced) Dependency Injection questions... Pin
James McConville6-Jun-11 22:21
James McConville6-Jun-11 22:21 
QuestionNeed to register click event for a Checkbox in side WPF Datagrid using MVVM Pin
Yogesh Jamkhindikar3-Jun-11 15:11
Yogesh Jamkhindikar3-Jun-11 15:11 
AnswerRe: Need to register click event for a Checkbox in side WPF Datagrid using MVVM Pin
Mycroft Holmes3-Jun-11 16:46
professionalMycroft Holmes3-Jun-11 16:46 
QuestionAttempted to read or write protected memory. This is often an indication that other memory is corrupt. Pin
Vimalsoft(Pty) Ltd3-Jun-11 0:03
professionalVimalsoft(Pty) Ltd3-Jun-11 0:03 
QuestionIs it possible to databind from a window.resources section? Pin
SledgeHammer012-Jun-11 6:37
SledgeHammer012-Jun-11 6:37 
AnswerRe: Is it possible to databind from a window.resources section? Pin
Ian Shlasko2-Jun-11 7:23
Ian Shlasko2-Jun-11 7:23 
Yes, but keep in mind that an object in the Resources section isn't actually part of the logical tree, and hence, has nothing to bind to. ElementName bindings won't work either, in this situation.

If you use a StaticResource reference to pull it into the tree, then it can use its parent for the DataContext... Except ContextMenus don't go into the tree at all.

You might try binding the DataContext of the ContextMenu to its PlacementTarget, and make sure that's set when you display it. If that fails, you might have to hook the menu's events to set that, or set the DataContext directly, when it's opened.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels)

GeneralRe: Is it possible to databind from a window.resources section? Pin
SledgeHammer012-Jun-11 7:34
SledgeHammer012-Jun-11 7:34 
QuestionSilverlight identification from server side Pin
bhavnvyas1-Jun-11 23:56
bhavnvyas1-Jun-11 23:56 
AnswerRe: Silverlight identification from server side Pin
Pete O'Hanlon2-Jun-11 0:57
subeditorPete O'Hanlon2-Jun-11 0:57 
AnswerRe: Silverlight identification from server side Pin
Abhinav S3-Jun-11 18:33
Abhinav S3-Jun-11 18:33 
QuestionHow to get new coordinates after a Rotation Pin
Suresh Suthar31-May-11 20:09
professionalSuresh Suthar31-May-11 20:09 
AnswerRe: How to get new coordinates after a Rotation Pin
_Maxxx_31-May-11 23:45
professional_Maxxx_31-May-11 23:45 
QuestionNeed Silverlight 3d chart Pin
Mikhael Ray Burton31-May-11 12:44
Mikhael Ray Burton31-May-11 12:44 
AnswerRe: Need Silverlight 3d chart Pin
BobJanova31-May-11 23:29
BobJanova31-May-11 23:29 
GeneralRe: Need Silverlight 3d chart Pin
Mikhael Ray Burton1-Jun-11 7:24
Mikhael Ray Burton1-Jun-11 7:24 
GeneralRe: Need Silverlight 3d chart Pin
BobJanova1-Jun-11 12:09
BobJanova1-Jun-11 12:09 
GeneralRe: Need Silverlight 3d chart Pin
BobJanova2-Jun-11 8:00
BobJanova2-Jun-11 8:00 
QuestionIEditableObject and WCF Pin
Mycroft Holmes30-May-11 17:32
professionalMycroft Holmes30-May-11 17:32 
AnswerRe: IEditableObject and WCF Pin
Pete O'Hanlon30-May-11 23:25
subeditorPete O'Hanlon30-May-11 23:25 
GeneralRe: IEditableObject and WCF Pin
Mycroft Holmes31-May-11 12:58
professionalMycroft Holmes31-May-11 12:58 
QuestionReading materials for WPF Pin
CodingLover30-May-11 2:29
CodingLover30-May-11 2:29 
AnswerRe: Reading materials for WPF Pin
Mark Salsbery30-May-11 6:11
Mark Salsbery30-May-11 6:11 
JokeRe: Reading materials for WPF Pin
_Maxxx_30-May-11 14:07
professional_Maxxx_30-May-11 14:07 

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.