c# Programming Glossary: connectionviewmodel
Binding WPF ComboBox to a Custom List http://stackoverflow.com/questions/561166/binding-wpf-combobox-to-a-custom-list set. The ViewModel class looks something like this public ConnectionViewModel private readonly CollectionView _phonebookEntries private string.. and SelectedValuePath are both the Name property of the ConnectionViewModel. The ComboBox is in a DataTemplate applied to an ItemsControl.. I have a MainWindowViewModel which has a CollectionView of ConnectionViewModels. In the MainWindowView.xaml file code behind I set the DataContext..
|