Skip to main content
A newer version of this page is available. .
Bar

RibbonProperties.DefaultLargeGlyphSize Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v21.2.dll

NuGet Packages: DevExpress.Win.Design, DevExpress.Win.Navigation

Declaration

[DefaultValue(32)]
public virtual int DefaultLargeGlyphSize { get; set; }

Property Value

Type Default Description
Int32 32

A Size structure that is the default size for all large 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 RibbonProperties.DefaultGlyphSize and 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