windowsforms-devexpress-dot-xtrabars-dot-barmanagerproperties-4f686bc9.md
Gets or sets the default size for all regular item icons within the BarManager.
Namespace : DevExpress.XtraBars
Assembly : DevExpress.XtraBars.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
public virtual Size DefaultGlyphSize { get; set; }
Public Overridable Property DefaultGlyphSize As Size
| Type | Description |
|---|---|
| Size |
A Size structure that is the default size for all regular item icons within the BarManager.
|
By default, regular item icons are 16x16 pixels in size, and 32x32 pixels for large icons. To override these default sizes, you can specify the DefaultGlyphSize and BarManagerProperties.DefaultLargeGlyphSize properties. This setting will affect item heights for all Bar Items with no glyphs. In other words, bar items without glyphs will have the height specified via the DefaultGlyphSize property.
To set a glyph for a BarManager item, add the required images to the BarManager.Images collection and pick a desired image for an item via the BarItem.ImageOptions.ImageIndex property.
See Also