Filtering ObservableCollection using Command

Here is my ViewModel: This is bound to my datagrid and loads all my data the issue I am having is I have made a radio button bound to a command and when it is selected I want it to "filter" my FullItemList to only show the empty rows in my datagrid....
more »

2017-09-20 17:09 (2) Answers

PropertyChanged in binding

I don't understand how the PropertyChanged event works in a binding context. Please consider this simple code: public class ImageClass { public Uri ImageUri { get; private set; } public int ImageHeight { get; set; } public int ImageWidth...
more »

2017-03-09 21:03 (1) Answers

Observable collection with List of object

Whether an observable collection can notify change of inside list ? ObservableCollection<List<TimeSeriesData>> ChartLines = new ObservableCollection<List<TimeSeriesData>>(); And if i modify List whether it can notify chang...
more »

2016-10-20 07:10 (1) Answers

Recomputing aggregates of bindable objects in WPF?

Say I have a main database class, TvShowDatabase, which contains a list of Shows. Each Show has a list of Episodes, each of which has a Length. The objects TvShowDatabase, Show and Episode all implement INotifyPropertyChanged. I would like to comput...
more »

2016-09-01 04:09 (1) Answers

WPF TemplateBinding to an ObservableCollection

I'm creating a content control that contains another usercontrol. We'll call them InnerControl and OuterControl. The InnerControl has a dependency property of type ObservableCollection called "Items." I'm trying to bind that to an identical Dependenc...
more »

2016-08-19 09:08 (2) Answers

How to update ObservableCollection?

I have folder with images, which I show in my ListBox. ObservableCollection stores that images. In my program users could crop selected image and after cropping save that image. Problem is that after saving the image my ObservableCollection is not up...
more »

2016-08-06 15:08 (1) Answers

My data in my grid does not update

I have an observable collection in my view model (using WPF c#). I 'attach' this to my datagrid I have a button I press the button and it will search for a particular row and update the value of a view. the data in the grid is not updated. i tho...
more »

2016-06-17 08:06 (1) Answers

ObservableCollection<Line> Not updating on the UI

I have an observablecollection of type line (observable collections automatically implement the INotifyPropertyChanged interface) and a function to add a line to it called CreateLine. If I call CreateLine in the constructor, it will appear. But if I ...
more »

2016-06-10 19:06 (1) Answers