BarManager.ToolbarGlyphSize Attached Property
Gets or sets whether a small or large image is displayed by bar item links within bars that belong to the current bar manager. This is a dependency property.
Namespace: DevExpress.Xpf.Bars
Assembly: DevExpress.Xpf.Core.v24.2.dll
NuGet Package: DevExpress.Wpf.Core
Declaration
Returns
Type | Description |
---|---|
GlyphSize | A GlyphSize value that specifies whether a small or large image is displayed by corresponding bar item links. |
Remarks
If the ToolbarGlyphSize property is set to Default, and bar items in a toolbar have both a large and small images assigned, a large image will be displayed. Set the ToolbarGlyphSize property to Small, to display bar item links using small images.
You can override the bar manager’s ToolbarGlyphSize setting for individual bars (via the Bar.GlyphSize property) and individual bar items (via the BarItem.GlyphSize property).
See the BarItem.Glyph property to learn more.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the ToolbarGlyphSize attachedproperty.
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.