NuGet Package: DevExpress.Win.Navigation
A DevExpress.XtraBars.Navigation.NavigationBarItemImageOptions object that provides access to image-related settings.
The ImageOptions property provides settings that allow you to assign and customize icons for a UI element.
The following list shows settings the ImageOptions object provides for most controls. Some of these settings may be unavailable for the current control.
Properties that allow you to assign regular raster images from a local storage or DevExpress Image Gallery.
Traditional …Image property counterparts that allow you to assign vector images.
Vector images support high-quality scaling, so the single SvgImage property replaces all one-size properties for traditional raster images (SmallImage, LargeImage, etc.). To resize a SVG image, use …Size properties (see below).
Explicitly specify vector image sizes. These properties are ignored in case the icon size is managed internally or items provide other properties to control icon sizes.
For example, you can manually resize a BarItem vector icon when this item is hosted within a BarManager. However, should the same item belong to a Ribbon, custom size settings will not be in effect since the predominant property is BarItem.RibbonStyle.
Often provided by items’ parent controls, these properties accept image collections, which store a complete icon set for all items. Once you specify such a collection, use the …Index properties for each item to choose an icon (see below).
Use these properties to select a desired icon from the …Images collection.
Specifies whether or not the Glyph Skinning feature is enabled. This feature works only for raster icons.
If a vector icon meets DevExpress color requirements, DevExpress controls can adjust this icon’s colors according to the active application Skin. This property allows you to choose how this colorization works.
The figure below illustrates an icon from the DevExpress Image Gallery as it appears in three bar items with different SvgImageColorizationMode settings.