Skip to main content

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

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
[DXCategory("Appearance")]
public object ButtonBackgroundImages { get; set; }

Property Value

Type Default Description
Object null

An Object that stores a collection of background images for all WindowsUIButtons within the WindowsUIButtonPanel. The default, the buttons display the circles with transparent area inside (42x42 pixels).

Remarks

The ButtonBackgroundImages collection must contains three background images for the normal, hovered and pressed states of buttons displayed within the WindowsUIButtonPanel. Button icons (IButtonProperties.Image or IButtonProperties.Glyphs) are displayed above the background image.

The image bellow illustrates the ButtonBackgroundImages and IButtonProperties.Glyphs collection interplay for the normal and hovered states.

ButtonBackgroundImages

The background color is independent of the background image color. Use the WindowsUIButtonPanel.AppearanceButton or WindowsUIButtonPanel.ForeColor properties to specify the background color.

See Also