Click here to Skip to main content
15,885,278 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: Binding problem Pin
Pete O'Hanlon16-May-11 23:24
mvePete O'Hanlon16-May-11 23:24 
GeneralRe: Binding problem Pin
DevUK16-May-11 23:46
DevUK16-May-11 23:46 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 0:50
mvePete O'Hanlon17-May-11 0:50 
GeneralRe: Binding problem Pin
DevUK17-May-11 0:56
DevUK17-May-11 0:56 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 1:01
mvePete O'Hanlon17-May-11 1:01 
GeneralRe: Binding problem Pin
Tarun.K.S17-May-11 2:21
Tarun.K.S17-May-11 2:21 
AnswerRe: Binding problem Pin
Abhinav S17-May-11 0:12
Abhinav S17-May-11 0:12 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 0:53
mvePete O'Hanlon17-May-11 0:53 
Strictly speaking, in this case he doesn't because of the sequence of events he's using to hook things up. At the point he assigns Name, the class isn't bound to the DataContext so there's nothing for the PropertyChangedEventHandler to raise the notification to.

The problem was down to an incorrect variable assignment in his code. I've added some code to show him a ViewModelBase implementation so that he gets an understanding, and so that binding will work property for him.

Forgive your enemies - it messes with their heads


My blog | My articles | MoXAML PowerToys | Mole 2010 - debugging made easier - my favourite utility


GeneralRe: Binding problem Pin
Abhinav S17-May-11 18:23
Abhinav S17-May-11 18:23 
GeneralRe: Binding problem Pin
Pete O'Hanlon17-May-11 20:28
mvePete O'Hanlon17-May-11 20:28 
AnswerRe: Binding problem Pin
yesotaso23-May-11 22:31
yesotaso23-May-11 22:31 
QuestionThread Issue: "Import" DrawingGroup Pin
Paul Selormey16-May-11 14:47
Paul Selormey16-May-11 14:47 
AnswerRe: Thread Issue: "Import" DrawingGroup Pin
Mark Salsbery16-May-11 15:44
Mark Salsbery16-May-11 15:44 
GeneralRe: Thread Issue: "Import" DrawingGroup Pin
Paul Selormey16-May-11 15:53
Paul Selormey16-May-11 15:53 
GeneralRe: Thread Issue: "Import" DrawingGroup Pin
Paul Selormey17-May-11 1:02
Paul Selormey17-May-11 1:02 
QuestionHow to modify DataTemplate programmatically? Pin
Tesic Goran16-May-11 1:24
professionalTesic Goran16-May-11 1:24 
AnswerRe: How to modify DataTemplate programmatically? Pin
Abhinav S16-May-11 2:04
Abhinav S16-May-11 2:04 
GeneralRe: How to modify DataTemplate programmatically? Pin
Tesic Goran16-May-11 2:35
professionalTesic Goran16-May-11 2:35 
AnswerRe: How to modify DataTemplate programmatically? Pin
Abhinav S16-May-11 3:10
Abhinav S16-May-11 3:10 
AnswerRe: How to modify DataTemplate programmatically? Pin
Mark Salsbery16-May-11 2:44
Mark Salsbery16-May-11 2:44 
GeneralRe: How to modify DataTemplate programmatically? Pin
Tesic Goran16-May-11 3:00
professionalTesic Goran16-May-11 3:00 
GeneralRe: How to modify DataTemplate programmatically? Pin
Mark Salsbery16-May-11 3:04
Mark Salsbery16-May-11 3:04 
AnswerRe: How to modify DataTemplate programmatically? Pin
SledgeHammer0116-May-11 6:21
SledgeHammer0116-May-11 6:21 
GeneralRe: How to modify DataTemplate programmatically? Pin
Tesic Goran17-May-11 1:24
professionalTesic Goran17-May-11 1:24 
GeneralRe: How to modify DataTemplate programmatically? Pin
Pete O'Hanlon17-May-11 1:54
mvePete O'Hanlon17-May-11 1:54 

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.