Pixels
is a property of the System.Windows.Media.Imaging.WriteableBitmap
class for Silverlight, that is different than the System.Windows.Media.Imaging.WriteableBitmap
class of the standard framework.
You should reference the Silverlight version of the framework to use the first class - and have the Pixels
property - but then you will be writing a Silverlight application, not a standard Windows one.
To access the pixel values using the standard framework you can use the CopyPixels
methods