Share via


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

Return Value

Type: System.Windows.Media.Imaging.BitmapSource
Returns BitmapSource.

.NET Framework Security

See Also

Reference

TeamFoundationIconStripHelperVs Class

Microsoft.VisualStudio.TeamFoundation Namespace