Skip to main content

BaseContentContainer.ButtonBackgroundImages Property

Gets or sets the collection of background images for the current Content Container‘s Custom Buttons.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(null)]
public virtual object ButtonBackgroundImages { get; set; }

Property Value

Type Default Description
Object null

An Object that stores background images for all Custom Buttons within the current BaseContentContainer.

Remarks

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

ButtonBackgroundImages

See Also