Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

WindowsUIButtonPanel.EnableImageTransparency Property

Gets or sets whether specific colors in images of all WindowsUIButtons within the current WindowsUIButtonPanel are transparent.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

[DefaultValue(false)]
[DXCategory("Appearance")]
public bool EnableImageTransparency { get; set; }

#Property Value

Type Default Description
Boolean false

true if specific colors in images of all WindowsUIButtons within the current WindowsUIButtonPanel are transparent; otherwise, false.

#Remarks

The EnableImageTransparency property effects images with solid colors that do not contain transparent pixels. In this case, if the EnableImageTransparency property equals true, the image’s top left color is assumed transparent for the entire image. If the EnableImageTransparency property equals false, the image is drawn as is, without transparent areas. Images, which contain transparent pixels, are displayed transparent despite of the EnableImageTransparency property value.

The EnableImageTransparency property specifies settings common to all WindowsUIButtons within a WindowsUIButtonPanel.

See Also