A few months ago, I created several online samples, such as this one from Jeff Prosise , which uses the WriteableBitmap class in Silverlight.
By revising them today with the latest Silverlight3 installer (3.0.40624.0), the API seems to have changed.
I figured out some changes. For example, the AccessableBitmap property has disappeared, but I found it in the new Pixels property, so instead of writing:
bmp[x]
I can write
bmp.Pixels[x]
Are there such simple replacements for these calls, or has the usage pattern changed?
bmp = new WriteableBitmap(width, height, PixelFormats.Bgr32);
bmp.Lock();
bmp.Unlock();
Can someone tell me a working example using the updated API?