Back to Devexpress

WindowsUIButtonPanel.EnableImageTransparency Property

windowsforms-devexpress-dot-xtrabars-dot-docking2010-dot-windowsuibuttonpanel-77a8eedf.md

latest2.5 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(false)]
[DXCategory("Appearance")]
public bool EnableImageTransparency { get; set; }
vb
<DefaultValue(False)>
<DXCategory("Appearance")>
Public Property EnableImageTransparency As Boolean

Property Value

TypeDefaultDescription
Booleanfalse

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

WindowsUIButtonPanel Class

WindowsUIButtonPanel Members

DevExpress.XtraBars.Docking2010 Namespace