Click here to Skip to main content
15,890,717 members
Home / Discussions / WPF
   

WPF

 
QuestionMVVM - how to update a control in a WindowsFormsHost Pin
barker77030-Mar-09 12:52
barker77030-Mar-09 12:52 
AnswerRe: MVVM - how to update a control in a WindowsFormsHost Pin
ABitSmart30-Mar-09 19:38
ABitSmart30-Mar-09 19:38 
GeneralRe: MVVM - how to update a control in a WindowsFormsHost Pin
barker77031-Mar-09 11:00
barker77031-Mar-09 11:00 
AnswerRe: MVVM - how to update a control in a WindowsFormsHost Pin
Pete O'Hanlon30-Mar-09 21:52
mvePete O'Hanlon30-Mar-09 21:52 
GeneralRe: MVVM - how to update a control in a WindowsFormsHost Pin
barker77031-Mar-09 10:56
barker77031-Mar-09 10:56 
GeneralRe: MVVM - how to update a control in a WindowsFormsHost Pin
Pete O'Hanlon31-Mar-09 11:56
mvePete O'Hanlon31-Mar-09 11:56 
GeneralRe: MVVM - how to update a control in a WindowsFormsHost Pin
barker7701-Apr-09 4:31
barker7701-Apr-09 4:31 
AnswerRe: MVVM - how to update a control in a WindowsFormsHost Pin
barker7701-Apr-09 9:11
barker7701-Apr-09 9:11 
I think I answered my own question. Since the ViewModel implemented INotifyChangedProperty I just added an event handler in the view's code behind to listen for each event from the viewModel. When it's the even I want, I update the winforms chart.

This pseudo binding still relies on both the View and ViewModel to agree on a property name. But that's the nature of binding anyway.

Mitch
GeneralRe: MVVM - how to update a control in a WindowsFormsHost Pin
Pete O'Hanlon1-Apr-09 9:22
mvePete O'Hanlon1-Apr-09 9:22 
GeneralRe: MVVM - how to update a control in a WindowsFormsHost Pin
ABitSmart1-Apr-09 22:56
ABitSmart1-Apr-09 22:56 
QuestionCustom/user control Pin
wazzzuup30-Mar-09 10:12
wazzzuup30-Mar-09 10:12 
AnswerRe: Custom/user control Pin
Christian Graus30-Mar-09 15:03
protectorChristian Graus30-Mar-09 15:03 
GeneralRe: Custom/user control Pin
wazzzuup31-Mar-09 0:00
wazzzuup31-Mar-09 0:00 
QuestionBrowsers just couldn't show SilverLights Applications ? Pin
Mohammad Dayyan30-Mar-09 10:03
Mohammad Dayyan30-Mar-09 10:03 
AnswerRe: Browsers just couldn't show SilverLights Applications ? Pin
Mark Salsbery31-Mar-09 6:31
Mark Salsbery31-Mar-09 6:31 
GeneralRe: Browsers just couldn't show SilverLights Applications ? Pin
Mohammad Dayyan31-Mar-09 20:37
Mohammad Dayyan31-Mar-09 20:37 
QuestionAssign command parameter to canvas. Pin
emptythetill30-Mar-09 1:22
emptythetill30-Mar-09 1:22 
AnswerRe: Assign command parameter to canvas. Pin
ABitSmart30-Mar-09 2:02
ABitSmart30-Mar-09 2:02 
GeneralRe: Assign command parameter to canvas. Pin
emptythetill30-Mar-09 10:50
emptythetill30-Mar-09 10:50 
GeneralRe: Assign command parameter to canvas. Pin
ABitSmart30-Mar-09 20:05
ABitSmart30-Mar-09 20:05 
QuestionDeploying WPF application Pin
M. J. Jaya Chitra30-Mar-09 0:09
M. J. Jaya Chitra30-Mar-09 0:09 
AnswerRe: Deploying WPF application Pin
Christian Graus30-Mar-09 15:08
protectorChristian Graus30-Mar-09 15:08 
QuestionNew WPF Themes on Codeplex Pin
RugbyLeague29-Mar-09 23:36
RugbyLeague29-Mar-09 23:36 
AnswerRe: New WPF Themes on Codeplex Pin
ABitSmart30-Mar-09 0:02
ABitSmart30-Mar-09 0:02 
GeneralRe: New WPF Themes on Codeplex Pin
RugbyLeague30-Mar-09 0:30
RugbyLeague30-Mar-09 0: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.