共用方式為


GrayscaleImageConverter.Convert Method (BitmapSource, Object, CultureInfo)

Microsoft internal use only.

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.11.0 (in Microsoft.VisualStudio.Shell.11.0.dll)

Syntax

'宣告
Protected Overrides Function Convert ( _
    inputImage As BitmapSource, _
    parameter As Object, _
    culture As CultureInfo _
) As Image
protected override Image Convert(
    BitmapSource inputImage,
    Object parameter,
    CultureInfo culture
)

Parameters

  • parameter
    Type: System.Object
    If set to a Color, it will be used to bias the final image

Return Value

Type: System.Windows.Controls.Image

.NET Framework Security

See Also

Reference

GrayscaleImageConverter Class

Convert Overload

Microsoft.VisualStudio.PlatformUI Namespace