WindowsUIButtonPanel.ButtonBackgroundImages Property

Gets or sets a collection of background images for all WindowsUIButtons within the current WindowsUIButtonPanel.

Namespace: DevExpress.XtraBars.Docking2010

Assembly: DevExpress.XtraBars.v20.1.dll

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public object ButtonBackgroundImages { get; set; }
<DefaultValue(Nothing)>
<DXCategory("Appearance")>
Public Property ButtonBackgroundImages As Object

Property Value

Type Default Description
Object

null

An Object that stores a collection of background images for all WindowsUIButtons within the current WindowsUIButtonPanel.

Remarks

Images from the ButtonBackgroundImages collection are used for all WindowsUIButtons within a WindowsUIButtonPanel as background images for different visual states - Normal, Hovered and Pressed. For this reason, the image collection assigned to the ButtonBackgroundImages property must contain 3 images. Button icons, specified via the IButtonProperties.Image or IButtonProperties.Glyphs property are drawn above these background images. Default background images (circles with transparent area inside) have are 42x42 pixels in size. The figure bellow illustrates the ButtonBackgroundImages and IButtonProperties.Glyphs collection interplay for a normal and hovered button.

ButtonBackgroundImages

Implements

DevExpress.XtraEditors.ButtonPanel.IButtonsPanelOwner.ButtonBackgroundImages
See Also