Skip to main content
Bar

BarSubItem.SubItemsGlyphSize Property

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

Namespace: DevExpress.Xpf.Bars

Assembly: DevExpress.Xpf.Core.v14.2.dll

#Declaration

[XtraSerializableProperty]
public GlyphSize SubItemsGlyphSize { get; set; }

#Property Value

Type Description
GlyphSize

A GlyphSize value that specifies the size of images for the menu's items.

#Remarks

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 sub-menu use small or large images. You can override this setting for individual bar items via the BarItem.GlyphSize property.

If the sub-menu's SubItemsGlyphSize property is set to Default, the size of the images is determined by the BarManager.MenuGlyphSize property.

See BarItem.Glyph to learn more.

See Also