Skip to main content
Bar

RibbonProperties.DefaultGlyphSize Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(16)]
public virtual int DefaultGlyphSize { get; set; }

Property Value

Type Default Description
Int32 16

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

Remarks

By default, regular bar item icons are 16x16 pixels in size, and 32x32 pixels for large icons. To override these default sizes, you can specify the DefaultGlyphSize and RibbonProperties.DefaultLargeGlyphSize properties.

To set a glyph for a bar item, add the required images to the RibbonControl.Images collection and pick a desired image for an item via the BarItem.ImageIndex property.

See Also