Click here to Skip to main content
15,907,225 members
Home / Discussions / WPF
   

WPF

 
AnswerRe: xaml - binding path - escape double quote Pin
PumbaPumba13-Oct-10 9:33
PumbaPumba13-Oct-10 9:33 
QuestionMVVM Pin
eddieangel7-Oct-10 7:49
eddieangel7-Oct-10 7:49 
AnswerRe: MVVM Pin
Pete O'Hanlon7-Oct-10 11:49
mvePete O'Hanlon7-Oct-10 11:49 
GeneralRe: MVVM Pin
eddieangel7-Oct-10 11:51
eddieangel7-Oct-10 11:51 
GeneralRe: MVVM Pin
Pete O'Hanlon7-Oct-10 11:54
mvePete O'Hanlon7-Oct-10 11:54 
AnswerRe: MVVM Pin
Mycroft Holmes7-Oct-10 17:19
professionalMycroft Holmes7-Oct-10 17:19 
AnswerRe: MVVM Pin
Abhinav S7-Oct-10 20:52
Abhinav S7-Oct-10 20:52 
QuestionSilverlight MVVM and combo boxes Pin
Mycroft Holmes6-Oct-10 23:17
professionalMycroft Holmes6-Oct-10 23:17 
I'm still struggling with these bloody things and I think it is a design issue.

I have a standard MVVM UI with view and viewmodels. I have a viemodellocator that has a static instance of the viewmodels. Each viewmodel basically represents a table in the database.

Two of the viewmodels I have are Trade and Currency, each Trade requires a currency so the view (Trade) needs to get a list of currencies to bind to the combobox.

I service the view with the static Trade VM from the viewmodellocator. TradeVM has a CurrencyList collection that is set to the CurrencyList in the static viewmodellocator. This works fine, ONCE. Then changing the selected Trade record in the Trade VM disturbs the binding and the combobox no longer binds.

This seems to be a widespread issue and there are various work arounds which are plain ugly. Does anyone have a recommendation, blog, article that demonstrates a simple and elegant solution to this rather nasty problem. Or am I doing this completely wrong and need to redesign my approach.
Never underestimate the power of human stupidity
RAH

AnswerRe: Silverlight MVVM and combo boxes Pin
Pete O'Hanlon6-Oct-10 23:34
mvePete O'Hanlon6-Oct-10 23:34 
GeneralRe: Silverlight MVVM and combo boxes Pin
Mycroft Holmes7-Oct-10 0:36
professionalMycroft Holmes7-Oct-10 0:36 
GeneralRe: Silverlight MVVM and combo boxes Pin
Pete O'Hanlon7-Oct-10 6:16
mvePete O'Hanlon7-Oct-10 6:16 
GeneralRe: Silverlight MVVM and combo boxes Pin
Mycroft Holmes7-Oct-10 19:49
professionalMycroft Holmes7-Oct-10 19:49 
GeneralRe: Silverlight MVVM and combo boxes Pin
Mycroft Holmes7-Oct-10 17:12
professionalMycroft Holmes7-Oct-10 17:12 
AnswerRe: Silverlight MVVM and combo boxes - KLUDGE Pin
Mycroft Holmes7-Oct-10 21:05
professionalMycroft Holmes7-Oct-10 21:05 
AnswerRe: Silverlight MVVM and combo boxes Pin
Mohammad Barzanooni30-Nov-13 2:53
Mohammad Barzanooni30-Nov-13 2:53 
GeneralRe: Silverlight MVVM and combo boxes Pin
Mycroft Holmes30-Nov-13 12:29
professionalMycroft Holmes30-Nov-13 12:29 
QuestionHow to change border or userControl z-order in runtime ? Pin
Yanshof5-Oct-10 3:21
Yanshof5-Oct-10 3:21 
AnswerRe: How to change border or userControl z-order in runtime ? Pin
Ian Shlasko5-Oct-10 3:27
Ian Shlasko5-Oct-10 3:27 
GeneralRe: How to change border or userControl z-order in run-time ? Pin
Yanshof5-Oct-10 5:03
Yanshof5-Oct-10 5:03 
GeneralRe: How to change border or userControl z-order in run-time ? Pin
Ian Shlasko5-Oct-10 6:25
Ian Shlasko5-Oct-10 6:25 
AnswerRe: How to change border or userControl z-order in runtime ? Pin
Abhinav S5-Oct-10 6:32
Abhinav S5-Oct-10 6:32 
GeneralRe: How to change border or userControl z-order in runtime ? Pin
Yanshof5-Oct-10 7:18
Yanshof5-Oct-10 7:18 
GeneralRe: How to change border or userControl z-order in runtime ? Pin
Abhinav S5-Oct-10 7:27
Abhinav S5-Oct-10 7:27 
GeneralRe: How to change border or userControl z-order in runtime ? Pin
Yanshof5-Oct-10 17:54
Yanshof5-Oct-10 17:54 
GeneralRe: How to change border or userControl z-order in runtime ? Pin
Abhinav S5-Oct-10 18:18
Abhinav S5-Oct-10 18:18 

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.