A newer version of this page is available. Switch to the current version.

BarItem.ItemAppearance Property

Provides appearance settings used to paint links to the current BarItem object when the links are in different visual states.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v19.1.dll


public virtual BarItemAppearances ItemAppearance { get; }

Property Value

Type Description

A BarItemAppearances object that contains corresponding appearance options.


BarAndDockingControllers allow you to define default appearance settings for bar item links within multiple Bars and RibbonControls within single or multiple forms. This can be achieved via the BarAndDockingController.AppearancesBar and BarAndDockingController.AppearancesRibbon objects. See Appearance and Look and Feel to learn more.

The Bar.BarAppearance property allows you to override the default appearance settings for individual bars. To customize appearance settings for individual bar item links, use the ItemAppearance property. When a BarItem is displayed within a sub-menu, its BarItem.ItemInMenuAppearance settings are used instead.

Only the Font and ForeColor properties are in effect in skinning paint schemes. Changing the background color of bar items is in effect only in the following paint schemes: Flat, UltraFlat, Style3D, OfficeXP and Office2000. Use the BarAndDockingController.PaintStyleName and BarAndDockingController.LookAndFeel properties to change the current paint scheme.


In a RibbonControl, changing an item’s font size via the ItemAppearance property does not change the item’s height. However, you can change the height of all items in the RibbonControl using a BarAndDockingController object (for instance, using the DefaultBarAndDockingController component). To change item height, use the Item.Font, ItemHovered.Font and ItemPressed.Font properties of the BarAndDockingController.AppearancesRibbon object.

See Also