WindowsUIButton.EnableImageTransparency Property
Gets or sets whether specific colors in the current WindowsUIButton‘s image are transparent.
Namespace: DevExpress.XtraBars.Docking2010
Assembly: DevExpress.XtraBars.v24.2.dll
Declaration
[Browsable(false)]
[DefaultValue(false)]
[EditorBrowsable(EditorBrowsableState.Never)]
public bool EnableImageTransparency { get; set; }
Property Value
Type | Default | Description |
---|---|---|
Boolean | false | true if specific colors in the current WindowsUIButton‘s image 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 to be 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.
You can also specify the global setting common to all WindowsUIButtons within a WindowsUIButtonPanel via the WindowsUIButtonPanel.EnableImageTransparency property.