With a DataGrid object in WPF, we can bind its ro开发者_StackOverflow社区ws to an observable collection such that as rows are added or removed to/from the collection, the UI updates to display the cha
suppose the following classes: public class Model { public ObservableCollection<A> Items { get; set; }
I\'m having some difficulties with null and a ComboBox in WPF/C#; If a add a null item it is not shown/listed in the ComboBox.
My scenario: I have a background thread that polls for changes and periodically updates a WPF DataGrid\'s ObservableCollection (MVVM-style). The user can click on a row in the DataGrid and bring up th
This question already has answers here: WPF - Bind to Item Index from within ItemTemplate of ItemsControl?
2 Questions really, and I\'m not sure if I\'m doing this right or not... I want to send back an array of some sort for an Entity object I created. I\'m not really sure how to mark it for sending (wha
I have a list of names that I\'d like to have bound to a datagrid for editing/sorting/etc. But, I don\'t like how the DataGrid is displayed at all. Columns are placed in Alphabetical order when I real
I have a list of data objects in my Windows Phone 7 application called MyObjectList, which inherits ObservableCollection<MyObject>. I keep the list in memory in a public property of App called M
This question already has answers here: ObservableCollection that also monitors changes on the elements in collection
MVVM pattern is implemented in my Silverlight4 application. Originally, I worked with ObservableCollection of objects in my ViewModel: