ImageThemingUtilities Methods

 

Namespace:   Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Imaging (in Microsoft.VisualStudio.Imaging.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticClearOptOutPixel(Byte*, Int32, Int32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticClearOptOutPixel(array<Byte>^, Int32, Int32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticClearWeakImageCache()

System_CAPS_pubmethodSystem_CAPS_staticGetImageBackgroundColor(DependencyObject^)

Gets the ImageBackgroundColor property.

System_CAPS_pubmethodSystem_CAPS_staticGetOrCreateThemedBitmapSource(BitmapSource^, Color, Boolean, Color)

Converts an input BitmapSource into an BitmapSource that blends in with the target background. This converter performs two conversions.

1. The luminosity of the image is transformed so that the constant "halo" luminosity blends in with the background. This has the effect of eliminating the halo visually. The "halo" luminosity is an immutable constant, and is not calculated from the input image.

2. The image is converted to grayscale if the isEnabled parameter is false. This uses the "biasColor" to determine how to transform the image to grayscale.

System_CAPS_pubmethodSystem_CAPS_staticGetOrCreateThemedBitmapSource(BitmapSource^, Color, Boolean, Color, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticGetThemedBitmap(Bitmap^, Color)

Creates a new Bitmap, based on the input one, but the new one blends in with the target background.

System_CAPS_pubmethodSystem_CAPS_staticGetThemedBitmap(Bitmap^, Color, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticGetThemedBitmap(Bitmap^, UInt32)

Creates a new Bitmap, based on the input one, but the new one blends in with the target background.

System_CAPS_pubmethodSystem_CAPS_staticGetThemedBitmap(Bitmap^, UInt32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticGetThemeScrollBars(DependencyObject^)

Gets the ThemeScrollbarsProperty value.

System_CAPS_pubmethodSystem_CAPS_staticGrayscaleDIBits(array<Byte>^, Int32, Color)

Transforms a BGRA32 device-independent bitmap to grayscale.

System_CAPS_pubmethodSystem_CAPS_staticIsDark(Color)

System_CAPS_pubmethodSystem_CAPS_staticIsLight(Color)

System_CAPS_pubmethodSystem_CAPS_staticIsOptOutPixelSet(Byte*, Int32, Int32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticIsOptOutPixelSet(array<Byte>^, Int32, Int32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticModifyBitmap(BitmapSource^, ImageThemingUtilities::ModifyPixelCallback^)

System_CAPS_pubmethodSystem_CAPS_staticSetImageBackgroundColor(DependencyObject^, Color)

Sets the ImageBackgroundColor property.

System_CAPS_pubmethodSystem_CAPS_staticSetOptOutPixel(BitmapSource^)

System_CAPS_pubmethodSystem_CAPS_staticSetOptOutPixel(Byte*, Int32, Int32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticSetOptOutPixel(array<Byte>^, Int32, Int32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticSetThemeScrollBars(DependencyObject^, Nullable<Boolean>)

Sets the ThemeScrollbarsProperty value.

System_CAPS_pubmethodSystem_CAPS_staticThemeDIBits(Int32, array<Byte>^, Int32, Int32, Boolean, UInt32)

System_CAPS_pubmethodSystem_CAPS_staticThemeDIBits(Int32, array<Byte>^, Int32, Int32, Boolean, UInt32, Boolean)

System_CAPS_pubmethodSystem_CAPS_staticThemePixel(Byte, Byte, Byte, HslColor)

System_CAPS_pubmethodSystem_CAPS_staticThemePixel(Byte, Byte, Byte, HslColor, Boolean)

Return to top
Show: