Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.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