This project is read-only.

How to update ColorKeyBitmap Source

Oct 13, 2011 at 6:25 PM

I write code below.

colorKeyBmp.Source = bitSrc; 

but  it does not update colorKeyBmp.

What's wrong?

Oct 13, 2011 at 8:33 PM

Unfortunately, WPF caches the contents of the bitmap and so it is not possible to change it at runtime.  You have to replace the bitmap with a new one.