Click here to Skip to main content
15,915,708 members
Home / Discussions / WPF
   

WPF

 
QuestionStill slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 5:18
Sutton Mehaffey4-Apr-12 5:18 
AnswerRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 5:46
mvePete O'Hanlon4-Apr-12 5:46 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 7:33
Sutton Mehaffey4-Apr-12 7:33 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon4-Apr-12 22:53
mvePete O'Hanlon4-Apr-12 22:53 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey5-Apr-12 9:02
Sutton Mehaffey5-Apr-12 9:02 
GeneralRe: Still slightly struggling with Binding Pin
Pete O'Hanlon6-Apr-12 2:55
mvePete O'Hanlon6-Apr-12 2:55 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey6-Apr-12 4:45
Sutton Mehaffey6-Apr-12 4:45 
GeneralRe: Still slightly struggling with Binding Pin
Sutton Mehaffey4-Apr-12 10:03
Sutton Mehaffey4-Apr-12 10:03 
QuestionCreating User Control in WPF Pin
MemberDotNetting4-Apr-12 1:09
MemberDotNetting4-Apr-12 1:09 
Questionremote desktop via wp7 Pin
heba abu ghaleih22 3-Apr-12 22:36
heba abu ghaleih22 3-Apr-12 22:36 
AnswerRe: remote desktop via wp7 Pin
Pete O'Hanlon3-Apr-12 22:50
mvePete O'Hanlon3-Apr-12 22:50 
GeneralRe: remote desktop via wp7 Pin
heba abu ghaleih22 3-Apr-12 22:58
heba abu ghaleih22 3-Apr-12 22:58 
GeneralRe: remote desktop via wp7 Pin
Pete O'Hanlon3-Apr-12 23:08
mvePete O'Hanlon3-Apr-12 23:08 
GeneralRe: remote desktop via wp7 Pin
heba abu ghaleih22 3-Apr-12 23:36
heba abu ghaleih22 3-Apr-12 23:36 
GeneralRe: remote desktop via wp7 Pin
Pete O'Hanlon3-Apr-12 23:42
mvePete O'Hanlon3-Apr-12 23:42 
GeneralRe: remote desktop via wp7 Pin
heba abu ghaleih22 4-Apr-12 0:08
heba abu ghaleih22 4-Apr-12 0:08 
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 

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.