Click here to Skip to main content
15,886,873 members
Home / Discussions / WPF
   

WPF

 
GeneralRe: remote desktop via wp7 Pin
Pete O'Hanlon4-Apr-12 0:27
mvePete O'Hanlon4-Apr-12 0:27 
QuestionDataGrid adds additional unnecessary row Pin
Mahesha9993-Apr-12 5:16
Mahesha9993-Apr-12 5:16 
AnswerRe: DataGrid adds additional unnecessary row Pin
Mahesha9993-Apr-12 5:22
Mahesha9993-Apr-12 5:22 
AnswerRe: DataGrid adds additional unnecessary row Pin
RobCroll3-Apr-12 5:42
RobCroll3-Apr-12 5:42 
Questionwpf controls Pin
MemberDotNetting2-Apr-12 15:41
MemberDotNetting2-Apr-12 15:41 
QuestionRe: wpf controls Pin
Richard MacCutchan2-Apr-12 21:39
mveRichard MacCutchan2-Apr-12 21:39 
AnswerRe: wpf controls Pin
Abhinav S3-Apr-12 6:42
Abhinav S3-Apr-12 6:42 
QuestionGet a Model event in the ViewModel Pin
Mycroft Holmes29-Mar-12 23:38
professionalMycroft Holmes29-Mar-12 23:38 
This feels like a really dumb question but...

I have a Model which implements OnPropertyChanged on each field in the Model

The ViewModel has an ObservableCollection and SelectedObject of the Model. SelectedObject implements OnPropertyChanged.

When the user changed data in the textbox the Model gets that change event, how do I get the event to the ViewModel vi the SelectedObject

I assume I need to bind an event in the ViewModel to the Model OnChangeEvent. Do I need to add it to each Model as it is selected and remove it as it becomes unselected?
Never underestimate the power of human stupidity
RAH

AnswerRe: Get a Model event in the ViewModel Pin
Pete O'Hanlon29-Mar-12 23:53
mvePete O'Hanlon29-Mar-12 23:53 
GeneralRe: Get a Model event in the ViewModel Pin
Mycroft Holmes30-Mar-12 1:54
professionalMycroft Holmes30-Mar-12 1:54 
GeneralRe: Get a Model event in the ViewModel Pin
Pete O'Hanlon30-Mar-12 2:29
mvePete O'Hanlon30-Mar-12 2:29 
QuestionShowing image for datapoints in Scatter series in Silverlight Pin
Member 877261529-Mar-12 19:20
Member 877261529-Mar-12 19:20 
AnswerRe: Showing image for datapoints in Scatter series in Silverlight Pin
Member 877261529-Mar-12 20:00
Member 877261529-Mar-12 20:00 
Questionbinding with timer Pin
michaelgr129-Mar-12 5:46
michaelgr129-Mar-12 5:46 
AnswerRe: binding with timer Pin
Mycroft Holmes29-Mar-12 12:59
professionalMycroft Holmes29-Mar-12 12:59 
GeneralRe: binding with timer Pin
SledgeHammer0129-Mar-12 17:23
SledgeHammer0129-Mar-12 17:23 
GeneralRe: binding with timer Pin
Mycroft Holmes29-Mar-12 18:03
professionalMycroft Holmes29-Mar-12 18:03 
QuestionWPF Image Question Pin
Kevin Marois28-Mar-12 11:18
professionalKevin Marois28-Mar-12 11:18 
GeneralRe: WPF Image Question Pin
Kevin Marois28-Mar-12 13:00
professionalKevin Marois28-Mar-12 13:00 
GeneralRe: WPF Image Question Pin
SledgeHammer0128-Mar-12 13:25
SledgeHammer0128-Mar-12 13:25 
GeneralRe: WPF Image Question Pin
Kevin Marois28-Mar-12 13:38
professionalKevin Marois28-Mar-12 13:38 
GeneralRe: WPF Image Question Pin
Miroslaw Slanda4-Apr-12 1:46
Miroslaw Slanda4-Apr-12 1:46 
QuestionQuick Binding Question Pin
Kevin Marois28-Mar-12 8:16
professionalKevin Marois28-Mar-12 8:16 
AnswerRe: Quick Binding Question Pin
Pete O'Hanlon28-Mar-12 8:40
mvePete O'Hanlon28-Mar-12 8:40 
GeneralRe: Quick Binding Question Pin
Kevin Marois28-Mar-12 8:43
professionalKevin Marois28-Mar-12 8:43 

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.