Archive for July, 2009

Silverlight 3 RTW Writeable bitmap changes

Wednesday, July 15th, 2009

With the official release of Silverlight 3 RTW I received some feedback that my plasma sample wasn’t working anymore.
The problem occurs in some small changes in the Writeable bitmap api.
The official MS change document talks about the new constructor and the lock methods.

3.19 WriteableBitmap changes

The PixelFormat parameter for the WriteableBitmap constructor has been removed. WriteableBitmap(int pixelWidth, int pixelHeight, PixelFormat format) is now WriteableBitmap(int pixelWidth, int pixelHeight).

The only supported PixelFormat is now Pbgra32.

Similarly, the PixelFormat and PixelFormats type has been removed.Lock() and Unlock() have been removed.

But that’s not the only thing.
From now on you have to use the pixels property to write or read pixels.

I updated my previous sample and code.

Silverlight 3.0 Hands-on workshop

Friday, July 3rd, 2009

For those of you who aren’t member of the Belgian Silverlight User Group there’s a upcoming workshop on September 10th 2009.

In this workshop, we will build a small Silverlight 3.0 application showing some of the new concepts like out of browser, animation easing, deeplinking, pixel effects, importing Photoshop files and perspective 3D. Some experience with Silverlight 2.0 is required for this workshop.

The workshop is organized with the cooperation of Boulevart

Be quick because there only a few places left.
Register at http://www.besug.be.


lab101 is proudly powered by WordPress
Content and design by Kris Meeusen
Entries (RSS) and Comments (RSS).