Click here to Skip to main content
16,016,345 members

Comments by Member 14064604 (Top 1 by date)

Member 14064604 23-Nov-18 8:23am View    
Unfortunately it doesnt work.

When i set breakpoints to converter, the image returned by ConvertByteArrayToBitMapImage has some null properties, and some properties that are throwing exceptions:

Format = 'img.Format' threw an exception of type 'System.InvalidOperationException'

DpiX = 'img.DpiX' threw an exception of type 'System.InvalidOperationException'


I modified the image source binding to:



The user control i use for displaying a Contact has a listview bound to an observable collection, and the elements bound to the Contact's properties are bound to SelectedContact property in the viewmodel.