Click here to Skip to main content
15,891,951 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: WPF 3D help needed Pin
Stevie31-Mar-09 5:12
Stevie31-Mar-09 5:12 
Question[Message Deleted] Pin
Prajeesh31-Mar-09 3:00
Prajeesh31-Mar-09 3:00 
AnswerRe: Change Visibilty of a Row in Grid Pin
Pete O'Hanlon31-Mar-09 4:50
mvePete O'Hanlon31-Mar-09 4:50 
QuestionDirect3D always on the top? [modified] Pin
mildred-frontfree30-Mar-09 15:38
mildred-frontfree30-Mar-09 15:38 
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 
barker770 wrote:
Since I cannot bind the chart to data, I was forced to add a method to the XAML code behind that knows how to update the chart. To further muddy the MVVM design pattern, I had to pass the View down to the ViewModel, so that the ViewModel could explicitly call the UpdateChart method that is in the View code behind.


Why is this method not part of the ViewModel? If it's updating data, then it has no place in the view - the view should only be a visual representation.

"WPF has many lovers. It's a veritable porn star!" - Josh Smith

As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.


My blog | My articles | MoXAML PowerToys | Onyx



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 
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 

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.