ObservableCollection<T> Class support
Would be great to get the ListBox updated when the ItemsSource is set to an ObservableCollection<T> and the Collection is manipulated in any way
7
votes
Nils Vult von Steyern
shared this idea
We are pleased to inform you that this feature is already implemented in C#/XAML for HTML5.
To test it, create a ListBox named ListBox1 in XAML, create an ObservableCollection named _obs1 in C#, set ListBox1.ItemsSource = _obs; then call _obs1.Add(“test1”); _obs1.Add(“test2”); You will notice that the items appear in the ListBox.
If you encounter any issues, please report them at: support@cshtml5.com
Your votes are given back to you.