I have a customer class which has a byte array property.
The application uses the byte array as a source for an image.
When I change this array, the UI doesn’t update (since byte[] is not an ObservableCollection).
When can I do to force the UI to refresh?
EDIT : the image is saved as a byte array because that how it sits in the DB(varbinary(MAX)). I tried changing the type to IList but that popped errors in nhibernate : could not determine type for System..IList
Have your class implement INotifyPropertyChanged
As soon as the Byte array changes, raise the
PropertyChangedevent.For example: