Skip to main content
Bar

BarItem.MediumGlyph Property

Gets or sets the item’s medium-size image. This is a dependency property.

Namespace: DevExpress.Xpf.Bars

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

NuGet Package: DevExpress.Wpf.Core

Declaration

public ImageSource MediumGlyph { get; set; }

Property Value

Type Description
ImageSource

The item’s medium-size image.

Remarks

You can assign glyphs to bar items with the following properties:

Property Glyph size
BarItem.Glyph 16*16
BarItem.LargeGlyph 32*32
BarItem.MediumGlyph 20*20

If both large and small images are assigned, the bar item’s links will display either image, according to the settings provided by bar objects (a bar item, bar, menu and bar manager). For example, if a bar item link is displayed within a toolbar, the large image will be displayed. If a bar item link is displayed within sub-menus, small images will be used.

The MediumGlyph is used in the Ribbon’s Simplified Mode.

See Also