About ObservableCollection (Help)
Posted: 20 Feb 2019, 03:47
In Xaml, ObservableCollection is binded on ListBox. Now, i attempt to change property(eg filename) of one item, and call OnPropertyChanged, why this item is not changed
Welcome to our official discussion site. You’ll find topics on features, bugs, development, and general support here
https://www.noesisengine.com/forums/
Thank you. It worksHi, if I understand correctly, you are changing a property of an ExeShortcut item, so you need to notify of that property change, not that the whole collection of items changed.
To do that your item has to implement INotifyPropertyChanged interface, and then call PropertyChanged delegate on the modified item with the property "FileName".
Could you please try it and let us know if worked?