Share via


ImageThemingUtilities.GetOrCreateThemedBitmapSource Method

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

Syntax

'Declaration
Public Shared Function GetOrCreateThemedBitmapSource ( _
    inputImage As BitmapSource, _
    backgroundColor As Color, _
    isEnabled As Boolean, _
    grayscaleBiasColor As Color _
) As BitmapSource
public static BitmapSource GetOrCreateThemedBitmapSource(
    BitmapSource inputImage,
    Color backgroundColor,
    bool isEnabled,
    Color grayscaleBiasColor
)
public:
static BitmapSource^ GetOrCreateThemedBitmapSource(
    BitmapSource^ inputImage, 
    Color backgroundColor, 
    bool isEnabled, 
    Color grayscaleBiasColor
)
static member GetOrCreateThemedBitmapSource : 
        inputImage:BitmapSource * 
        backgroundColor:Color * 
        isEnabled:bool * 
        grayscaleBiasColor:Color -> BitmapSource
public static function GetOrCreateThemedBitmapSource(
    inputImage : BitmapSource, 
    backgroundColor : Color, 
    isEnabled : boolean, 
    grayscaleBiasColor : Color
) : BitmapSource

Parameters

Return Value

Type: System.Windows.Media.Imaging.BitmapSource

.NET Framework Security

See Also

Reference

ImageThemingUtilities Class

Microsoft.VisualStudio.PlatformUI Namespace