Back to Devexpress

BarItem.MediumGlyph Property

wpf-devexpress-dot-xpf-dot-bars-dot-baritem-85837ad3.md

latest1.7 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public ImageSource MediumGlyph { get; set; }
vb
Public Property MediumGlyph As ImageSource

Property Value

TypeDescription
ImageSource

The item’s medium-size image.

|

Remarks

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

PropertyGlyph size
BarItem.Glyph16*16
BarItem.LargeGlyph32*32
BarItem.MediumGlyph20*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

BarItem Class

BarItem Members

DevExpress.Xpf.Bars Namespace