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

WPF

 
QuestionSilverlight plugin becomes unresponsive when javascript alert popups in Chrome Pin
aatijare5-Mar-09 3:57
aatijare5-Mar-09 3:57 
QuestionWPF Combobox databinding Pin
babongita5-Mar-09 3:37
babongita5-Mar-09 3:37 
AnswerRe: WPF Combobox databinding Pin
ABitSmart5-Mar-09 4:07
ABitSmart5-Mar-09 4:07 
GeneralRe: WPF Combobox databinding Pin
babongita5-Mar-09 5:20
babongita5-Mar-09 5:20 
GeneralRe: WPF Combobox databinding Pin
ABitSmart5-Mar-09 5:23
ABitSmart5-Mar-09 5:23 
GeneralRe: WPF Combobox databinding Pin
babongita5-Mar-09 5:40
babongita5-Mar-09 5:40 
GeneralRe: WPF Combobox databinding Pin
ABitSmart5-Mar-09 5:57
ABitSmart5-Mar-09 5:57 
GeneralRe: WPF Combobox databinding Pin
babongita5-Mar-09 6:11
babongita5-Mar-09 6:11 
There are four different view models since there is are parent child relationships in this scenario.

Here is an attempt to explain

TabParameterViewModel
has a DP of ParameterCollection (which is of Type ObservableCollection)
has a DP of Parameter (bound to the selected item in a ListView)

ParameterViewModel
has a DP of Parameter which is set to a clone of TabParameterViewModel.Parameter
has a DP of ParameterDefaultCollection (again an ObservableCollection) this.Parameter.Defaults

ParameterDefaultsViewModel
has a DP of ParameterDefaultCollection bound to a ListView
has a DP of ParameterDefault bound to the selectedItem in the ListView

ParameterDefaultViewModel
has a DP of ParameterDefault which is set to a clone of ParameterDefaultsViewModel.ParameterDefault

The Parameter Model has a Name property which is a class of ParameterName, which contains other attributes that are needed for the ParameterName. It also has a string property called ParameterLabel which I have bound to a textbox, when I change the SelectedItem in the listbox int TabParameterView the corresponding attributes change in the ParameterView, but any item bound to an object (in this case a Combobox) that attribute is not populated.
GeneralRe: WPF Combobox databinding Pin
ABitSmart5-Mar-09 16:47
ABitSmart5-Mar-09 16:47 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 2:26
babongita6-Mar-09 2:26 
GeneralRe: WPF Combobox databinding Pin
ABitSmart6-Mar-09 3:15
ABitSmart6-Mar-09 3:15 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 3:32
babongita6-Mar-09 3:32 
GeneralRe: WPF Combobox databinding Pin
ABitSmart6-Mar-09 4:55
ABitSmart6-Mar-09 4:55 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 5:08
babongita6-Mar-09 5:08 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 5:10
babongita6-Mar-09 5:10 
GeneralRe: WPF Combobox databinding Pin
ABitSmart6-Mar-09 5:24
ABitSmart6-Mar-09 5:24 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 5:29
babongita6-Mar-09 5:29 
GeneralRe: WPF Combobox databinding Pin
ABitSmart6-Mar-09 5:59
ABitSmart6-Mar-09 5:59 
GeneralRe: WPF Combobox databinding [modified] Pin
babongita6-Mar-09 6:38
babongita6-Mar-09 6:38 
GeneralRe: WPF Combobox databinding Pin
ABitSmart6-Mar-09 6:41
ABitSmart6-Mar-09 6:41 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 6:49
babongita6-Mar-09 6:49 
GeneralRe: WPF Combobox databinding Pin
ABitSmart6-Mar-09 6:56
ABitSmart6-Mar-09 6:56 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 7:02
babongita6-Mar-09 7:02 
GeneralRe: WPF Combobox databinding Pin
babongita6-Mar-09 9:03
babongita6-Mar-09 9:03 
GeneralRe: WPF Combobox databinding Pin
ABitSmart6-Mar-09 17:47
ABitSmart6-Mar-09 17:47 

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.