BarItem.GlyphSize Property
Gets or sets whether a small or large image is displayed by the bar item. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
#Declaration
#Property Value
Type | Description |
---|---|
Glyph |
A Glyph |
Available values:
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 Bar |
Small | A bar item is using a small image specified by the Bar |
Medium | A bar item is using a medium image specified by the Bar |
Large | A bar item is using a large image specified by the Bar |
Custom | The size of the glyph is specified by the Size value. |
#Remarks
If the GlyphSize property is set to Default, the size of images is determined by the GlyphSize properties of the container (bar/menu/submenu) where the item’s links are displayed, or by the BarManager‘s corresponding setting (BarManager.ToolbarGlyphSize or BarManager.MenuGlyphSize).
Note
Use the Bar
Refer to the BarItem.Glyph property for more information.
#Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the GlyphSize property.
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.