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
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.
You can also replace background images for content container buttons (see the BaseContentContainer.Buttons collection) via the BaseContentContainer.ButtonBackgroundImages property.