TeamFoundationIconStripHelperVs.ThemeBitmapSource Method
Applies any theming necessary changes to the icon. ImageThemingUtilities.GetOrCreateThemedBitmapSource caches the icon, so this is quick.
Namespace: Microsoft.VisualStudio.TeamFoundation
Assembly: Microsoft.VisualStudio.TeamFoundation (in Microsoft.VisualStudio.TeamFoundation.dll)
Syntax
'Declaration
Public Overrides Function ThemeBitmapSource ( _
inputImage As BitmapSource, _
backgroundColor As Color _
) As BitmapSource
public override BitmapSource ThemeBitmapSource(
BitmapSource inputImage,
Color backgroundColor
)
public:
virtual BitmapSource^ ThemeBitmapSource(
BitmapSource^ inputImage,
Color backgroundColor
) override
abstract ThemeBitmapSource :
inputImage:BitmapSource *
backgroundColor:Color -> BitmapSource
override ThemeBitmapSource :
inputImage:BitmapSource *
backgroundColor:Color -> BitmapSource
public override function ThemeBitmapSource(
inputImage : BitmapSource,
backgroundColor : Color
) : BitmapSource
Parameters
- inputImage
Type: System.Windows.Media.Imaging.BitmapSource
- backgroundColor
Type: System.Windows.Media.Color
Return Value
Type: System.Windows.Media.Imaging.BitmapSource
Returns 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.