wpf-devexpress-dot-xpf-dot-bars-d95830ba.md
Contains values that control the size of a bar item’s glyph.
Namespace : DevExpress.Xpf.Bars
Assembly : DevExpress.Xpf.Core.v25.2.dll
NuGet Package : DevExpress.Wpf.Core
public enum GlyphSize
Public Enum GlyphSize
| Name | Description |
|---|---|
Default |
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.
|
| Small |
A bar item is using a small image specified by the BarItem.Glyph property.
|
| Medium |
A bar item is using a medium image specified by the BarItem.MediumGlyph property.
|
| Large |
A bar item is using a large image specified by the BarItem.LargeGlyph property.
|
| Custom |
The size of the glyph is specified by the Size value.
|
The following properties accept/return GlyphSize values:
Show 12 items
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GlyphSize enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
wpf-svgimagesource-extension-specify-vector-image-as-glyph/CS/DXSample/MainWindow.xaml#L41
<dxe:ComboBoxEdit Name="sizeEditor"
ItemsSource="{dxe:EnumItemsSource EnumType={x:Type dxb:GlyphSize}}">
<dxe:ComboBoxEdit.EditValue>
See Also