Click here to Skip to main content
15,889,096 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: WPF User Controls - Interacting With Other Controls Pin
Mycroft Holmes19-Apr-13 13:19
professionalMycroft Holmes19-Apr-13 13:19 
GeneralRe: WPF User Controls - Interacting With Other Controls Pin
Kevin Marois19-Apr-13 13:21
professionalKevin Marois19-Apr-13 13:21 
GeneralRe: WPF User Controls - Interacting With Other Controls Pin
Mycroft Holmes19-Apr-13 13:26
professionalMycroft Holmes19-Apr-13 13:26 
GeneralRe: WPF User Controls - Interacting With Other Controls Pin
_Maxxx_7-May-13 20:09
professional_Maxxx_7-May-13 20:09 
GeneralRe: WPF User Controls - Interacting With Other Controls Pin
SledgeHammer0124-Apr-13 8:48
SledgeHammer0124-Apr-13 8:48 
GeneralRe: WPF User Controls - Interacting With Other Controls Pin
Mycroft Holmes24-Apr-13 12:25
professionalMycroft Holmes24-Apr-13 12:25 
GeneralRe: WPF User Controls - Interacting With Other Controls Pin
Kevin Marois25-Apr-13 10:54
professionalKevin Marois25-Apr-13 10:54 
GeneralRe: WPF User Controls - Interacting With Other Controls Pin
_Maxxx_7-May-13 20:20
professional_Maxxx_7-May-13 20:20 
That's about how I would do it - although pass a reference to the object rather than just an Id - you then have the advantage of being able to access the object in question from your consumer.

Send Message - "I've just updated this Customer"

Receive Message - do nothing - not interested in this customer
Receive Message - update my list of customers as the value in the CustomerType property matches my filtering criteria.
Receive Message - I'm displaying this actual customer - so I'll refresh myself

the 'handled' approach can be useful; my example is selecting a customer to edit from a list.

If an existing customer edit view is out there, in a 'clean' state, it can take over the job of editing the selected customer - but you don't want another view to do the same thing too!
MVVM# - See how I did MVVM my way
___________________________________________
Man, you're a god. - walterhevedeich 26/05/2011

.\\axxx
(That's an 'M')

QuestionData binding validation Pin
columbos1492715-Apr-13 22:13
columbos1492715-Apr-13 22:13 
AnswerRe: Data binding validation Pin
Nupur S. Tiwari16-Apr-13 19:36
Nupur S. Tiwari16-Apr-13 19:36 
GeneralRe: Data binding validation Pin
columbos1492720-Apr-13 2:18
columbos1492720-Apr-13 2:18 
QuestionExtending wpf print dialog Pin
Andreas X15-Apr-13 20:15
professionalAndreas X15-Apr-13 20:15 
AnswerRe: Extending wpf print dialog Pin
Kenneth Haugland17-Apr-13 21:00
mvaKenneth Haugland17-Apr-13 21:00 
GeneralRe: Extending wpf print dialog Pin
Andreas X17-Apr-13 22:38
professionalAndreas X17-Apr-13 22:38 
GeneralRe: Extending wpf print dialog Pin
Kenneth Haugland17-Apr-13 23:14
mvaKenneth Haugland17-Apr-13 23:14 
GeneralRe: Extending wpf print dialog Pin
Andreas X18-Apr-13 0:27
professionalAndreas X18-Apr-13 0:27 
QuestionThe best way to display live log output to a WPF windows. Pin
Daudaka15-Apr-13 5:25
Daudaka15-Apr-13 5:25 
AnswerRe: The best way to display live log output to a WPF windows. Pin
Mycroft Holmes15-Apr-13 12:47
professionalMycroft Holmes15-Apr-13 12:47 
AnswerRe: The best way to display live log output to a WPF windows. Pin
Andreas X15-Apr-13 21:34
professionalAndreas X15-Apr-13 21:34 
QuestionButton sizes become small in a stackpanel Pin
Vimalsoft(Pty) Ltd13-Apr-13 22:52
professionalVimalsoft(Pty) Ltd13-Apr-13 22:52 
AnswerRe: Button sizes become small in a stackpanel Pin
Abhishek Sur20-Apr-13 1:46
professionalAbhishek Sur20-Apr-13 1:46 
GeneralRe: Button sizes become small in a stackpanel Pin
Vimalsoft(Pty) Ltd21-Apr-13 3:08
professionalVimalsoft(Pty) Ltd21-Apr-13 3:08 
GeneralRe: Button sizes become small in a stackpanel Pin
Abhishek Sur21-Apr-13 11:20
professionalAbhishek Sur21-Apr-13 11:20 
GeneralRe: Button sizes become small in a stackpanel Pin
Vimalsoft(Pty) Ltd22-Apr-13 1:27
professionalVimalsoft(Pty) Ltd22-Apr-13 1:27 
Questionlistview with many textboxes Pin
vaishali thaker11-Apr-13 22:50
vaishali thaker11-Apr-13 22:50 

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.