Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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.