Skip to main content

WindowsUIView.ActionButtonBackgroundImages Property

Gets or sets the object that stores images used as custom background images for Navigation Bar actions.

Namespace: DevExpress.XtraBars.Docking2010.Views.WindowsUI

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

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

Property Value

Type Default Description
Object null

An Object that stores images used as custom background images for Navigation Bar actions.

Remarks

The ActionButtonBackgroundImages property allows you to assign any object containing images (e.g., the SharedImageCollection object) to the WindowsUIView. Images from this collection will be used to replace default background images for buttons within Navigation Bars. Since these buttons have 3 possible visual states - Normal, Hovered and Pressed for push buttons and Unchecked, Hovered and Checked for check buttons - an object assigned to the ActionButtonBackgroundImages property has to contain at least 3 images. The figure below illustrates a navigation bar with both default (‘Back’) and custom (‘Custom’) buttons. Both buttons display custom square background images.

WindowsView - Navigation Bar Button Background Images

You can also replace background images for content container buttons (see the BaseContentContainer.Buttons collection) via the BaseContentContainer.ButtonBackgroundImages property.

See Also