Back to Devexpress

Alpha Blending and Background Images

vcl-155044-expressbars-concepts-alpha-blending-and-background-images.md

latest1.8 KB
Original Source

Alpha Blending and Background Images

  • Dec 28, 2020

Since version 6, the ExpressBars Suite supports alpha channels in 32-bit images.

With this technique, edges look much smoother, which improves element appearance.

If you plan to use transparent images or images with alpha channel in your applications, you need to know the following:

Alpha blending management

The following API allows you to control some aspects of alpha blending for a toolbar/menu system:

MemberDescription
TdxBar.AlphaBlendValueSpecifies a floating toolbar’s transparency
TdxBarImageOptions.ImageListBkColorSpecifies the transparent color of images within the bar manager’s image lists.
TdxBarImageOptions.UseLeftBottomPixelAsTransparentSpecifies whether the color of the image’s bottom-left pixel is not rendered on the entire image.
TcxImageList.AlphaBlendingSpecifies whether alpha channel information is used to draw images.

See Also

Appearance Customization