Skip to main content

BarItem.GlyphSize Property

Gets or sets whether a small or large image is displayed by the bar item. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v22.1.dll

NuGet Package: DevExpress.Wpf.Core


public GlyphSize GlyphSize { get; set; }

Property Value

Type Description

A GlyphSize enumeration value that specifies whether a small or large image is displayed by the bar item.

Available values:

Name Description

The size of a bar item’s image is dependent on the settings of the bar item’s container (bar or popup menu) or the BarManager object. See the following options: Bar.GlyphSize, PopupMenu.GlyphSize, BarSubItem.SubItemsGlyphSize, BarManager.ToolbarGlyphSize, BarManager.MenuGlyphSize.


A bar item is using a small image specified by the BarItem.Glyph property.


A bar item is using a medium image specified by the BarItem.MediumGlyph property.


A bar item is using a large image specified by the BarItem.LargeGlyph property.


The size of the glyph is specified by the Size value.


If the GlyphSize property is set to Default, the size of images is determined by the GlyphSize properties of the container (bar/menu/submenu) where the item’s links are displayed, or by the BarManager‘s corresponding setting (BarManager.ToolbarGlyphSize or BarManager.MenuGlyphSize).


Use the BarItem RibbonStyle property if you want to change the size of a BarItem in the Ribbon Control.

Refer to the BarItem.Glyph property for more information.

See Also