Partager via


GrayscaleImageConverter Class

Definition

Converts a Gel image BitmapSource into a grayscale version of the same image as an Image.

public ref class GrayscaleImageConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<System::Windows::Media::Imaging::BitmapSource ^, System::Windows::Controls::Image ^>
[Windows::Foundation::Metadata::WebHostHidden]
class GrayscaleImageConverter : Microsoft::VisualStudio::PlatformUI::ValueConverter<System::Windows::Media::Imaging::BitmapSource, System::Windows::Controls::Image const &>
public class GrayscaleImageConverter : Microsoft.VisualStudio.PlatformUI.ValueConverter<System.Windows.Media.Imaging.BitmapSource,System.Windows.Controls.Image>
type GrayscaleImageConverter = class
    inherit ValueConverter<BitmapSource, Image>
Public Class GrayscaleImageConverter
Inherits ValueConverter(Of BitmapSource, Image)
Inheritance
GrayscaleImageConverter

Constructors

GrayscaleImageConverter()

Microsoft internal use only.

Methods

Convert(BitmapSource, Object, CultureInfo)

Microsoft internal use only.

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>)

Applies to