wpf-devexpress-dot-xpf-dot-bars-dot-baritem-85837ad3.md
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
public ImageSource MediumGlyph { get; set; }
Public Property MediumGlyph As ImageSource
| Type | Description |
|---|---|
| ImageSource |
The item’s medium-size image.
|
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