GrayscaleImageConverter Class
Converts a Gel image BitmapSource into a grayscale version of the same image as an Image.
Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.10.0 (in Microsoft.VisualStudio.Shell.10.0.dll)
Syntax
'Déclaration
Public Class GrayscaleImageConverter _
Inherits ValueConverter(Of BitmapSource, Image)
'Utilisation
Dim instance As GrayscaleImageConverter
public class GrayscaleImageConverter : ValueConverter<BitmapSource, Image>
public ref class GrayscaleImageConverter : public ValueConverter<BitmapSource^, Image^>
type GrayscaleImageConverter =
class
inherit ValueConverter<BitmapSource, Image>
end
public class GrayscaleImageConverter extends ValueConverter<BitmapSource, Image>
Inheritance Hierarchy
System.Object
Microsoft.VisualStudio.PlatformUI.ValueConverter<BitmapSource, Image>
Microsoft.VisualStudio.PlatformUI.GrayscaleImageConverter
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.