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
- inputImage
Type: System.Windows.Media.Imaging.BitmapSource
- backgroundColor
Type: System.Windows.Media.Color
- isEnabled
Type: System.Boolean
- grayscaleBiasColor
Type: System.Windows.Media.Color
Return Value
Type: System.Windows.Media.Imaging.BitmapSource
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.