Share via


ImageThemingUtilities.ModifyPixelCallback Delegate

Definition

Callback used to modify pixel data in a BitmapSource.

public: delegate bool ImageThemingUtilities::ModifyPixelCallback(BitmapSource ^ originalSource, System::Byte* pixels);
public delegate bool ImageThemingUtilities.ModifyPixelCallback(BitmapSource originalSource, byte* pixels);
type ImageThemingUtilities.ModifyPixelCallback = delegate of BitmapSource * nativeptr<byte> -> bool
Public Delegate Function ImageThemingUtilities.ModifyPixelCallback(originalSource As BitmapSource, pixels As Byte*) As Boolean 

Parameters

originalSource
BitmapSource

The BitmapSource whose pixels are being modified.

pixels
Byte*

The Bgra32 pixel values from the BitmapSource

Return Value

True if the bitmap was modified, false if no change were made.

Applies to