I have an issue with a datagrid inserting/updating rows twice. The datagrid is bound to an observable collection that has an ItemEndEdit event added to it:
I may be confused about the purpose behind INotifyPropertyChanged and Silverlight... I have XAML that I created in the designer:
I have a ListBox which has a DataTemplate applied to the items. Each item is to display 3 text fields. The ListBox is bound to an ObservableCollection. Everything is working fine, but when I try to lo
I want to create a WPF TreeView with two grouping options (radio buttons). So the data will be grouped in two different ways in a 2-level hierarchy, the lowest level being the actual data items, and t
please note that I am trying to use NotifyCollectionChangedAction.Add action instead of .Reset. the latter does work, but it is not very efficient with large collections.
In my WPF application I\'d like to use LINQ as much as possible (especially to avoid foreach). But WPF works a lot with the 开发者_如何学CObservableCollection, and I can\'t use LINQ with these kind of
I\'m trying to make a ListBox that updates to the contents of an ObservableCollection whenever anything in that collection changes, so this is the code I\'ve written for that:
I want to update collection after it was changed but I can\'t seem to get \"away\" from this exception:
How can I do that? thats a no go: ObservableCollection obsCol = newObservableCollection(myIEnumerable);
I have a render-heavy item template in an ItemsControl and want to minimize the recreation of child item templates when ItemsSource signals a change. I am wondering if, because ObservableCollection ca