Skip to main content
Bar

BarManagerProperties.DefaultGlyphSize Property

Gets or sets the default size for all regular item icons within the BarManager.

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual Size DefaultGlyphSize { get; set; }

Property Value

Type Description
Size

A Size structure that is the default size for all regular item icons within the BarManager.

Remarks

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.ImageIndex property.

See Also