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
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. Use the WindowsUIButton.EnableImageTransparency property instead for individual WindowsUIButtons.