GrayscaleBitmapSourceConverter Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Converts an image BitmapSource into a grayscale version of the same image.
public ref class GrayscaleBitmapSourceConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<System::Windows::Media::Imaging::BitmapSource ^, System::Windows::Media::Imaging::BitmapSource ^>
[Windows::Foundation::Metadata::WebHostHidden]
class GrayscaleBitmapSourceConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<System::Windows::Media::Imaging::BitmapSource, System::Windows::Media::Imaging::BitmapSource const &>
public class GrayscaleBitmapSourceConverter : Microsoft.VisualStudio.PlatformUI.ValueConverter<System.Windows.Media.Imaging.BitmapSource,System.Windows.Media.Imaging.BitmapSource>
type GrayscaleBitmapSourceConverter = class
inherit ValueConverter<BitmapSource, BitmapSource>
Public Class GrayscaleBitmapSourceConverter
Inherits ValueConverter(Of BitmapSource, BitmapSource)
- Inheritance
Constructors
GrayscaleBitmapSourceConverter() |
Initializes a new instance of GrayscaleBitmapSourceConverter. |
Methods
Convert(BitmapSource, Object, CultureInfo) |
Converts the image. |
Convert(Object, Type, Object, CultureInfo) |
Microsoft internal use only. (Inherited from ValueConverter<TSource,TTarget>) |
Convert(TSource, Object, CultureInfo) |
Microsoft internal use only. (Inherited from ValueConverter<TSource,TTarget>) |
ConvertBack(Object, Type, Object, CultureInfo) |
Microsoft internal use only. (Inherited from ValueConverter<TSource,TTarget>) |
ConvertBack(TTarget, Object, CultureInfo) |
Microsoft internal use only. (Inherited from ValueConverter<TSource,TTarget>) |
ConvertCore(BitmapSource, Color) |
Converts the image. |
GetBiasColor(Object) |
Gets the bias color. |