Skip to main content

BarLinkContainerItem.SubItemsGlyphSize Property

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

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core


public GlyphSize SubItemsGlyphSize { get; set; }

Property Value

Type Description

A GlyphSize value that specifies the size of images for the container’s items.

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.


This property makes sense when both large and small images are assigned to bar items via the BarItem.Glyph and BarItem.LargeGlyph properties. The SubItemsGlyphSize specifies whether bar item links displayed in the current container use small or large images. You can override this setting for individual bar items via the BarItem.GlyphSize property.

If the menu’s SubItemsGlyphSize property is set to Default, the size of the images is determined by a bar manager’s setting (BarManager.ToolbarGlyphSize or BarManager.MenuGlyphSize), depending on where the container is displayed.

See BarItem.Glyph to learn more.

See Also