Bar

RibbonProperties.DefaultLargeGlyphSize Property

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

Namespace: DevExpress.XtraBars

Assembly: DevExpress.XtraBars.v20.2.dll

Declaration

[DefaultValue(32)]
public virtual int DefaultLargeGlyphSize { get; set; }
<DefaultValue(32)>
Public Overridable Property DefaultLargeGlyphSize As Integer

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