I have these ViewModels: RecordViewModel, ComponentViewModel where RecordViewModel essentially is a container for several ComponentViewModels.
I had been setting the DataContext for UserControls like so: <uc:DepartmentListingView DataContext=\"{Binding ., Mode=TwoWay}\" />
My listbox is defined below. \"Properties\" is a BindingList which I am changing one of the items but the Image style is not being updated. Any ideas what I might be missing?
Silverlight 4 is out and it seems we\'ve missed the DataTemplate DataType functionality in this release again, which is pretty pivotal for MVVM support IMHO. For my WPF apps, at this point, I\'m prett
I needed to build a custom treeview as a user control. I called it for the sake of the example TreeViewEx :
Preview alt text http://img39.imageshack.us/img39/5466/howtoorderhorizontal.jpg On the highlighted item, the images still ordered vertically even I already use <StackPanel Orientation=\"Horizonta
In my Master/detail scenario, I have a datagrid as master and a UserControl as child. When a particular Row being selected in master grid I assign it to the UserControl\'s DataContext.
I have a UserControl that I have successfully been using as a header for presentations that involve a list which can be headered, using the xaml below:
New to WPF and have Tabs and in each tab the content is presented in a curved corner panel/window/whateveryouwannacallit. I wasn\'t sure how to do this ( Style, ControlTemplate ) but decided to go the
I\'m new to WPF so this may be easier than it seems. I have a DataTable object that I set as the itemssource of a combobox. For each row in the DataTable I want a ComboBoxItem. For each ComboBoxItem I