Skip to main content

RibbonGalleryBarItem.DropDownGalleryMenuItemsGlyphSize Property

Gets or sets the size of the images displayed for the menu items within the dropdown gallery. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.2.dll

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public GlyphSize DropDownGalleryMenuItemsGlyphSize { get; set; }

Property Value

Type Description
GlyphSize

A GlyphSize value that specifies the size of the corresponding images.

Available values:

Name Description
Default

The size of a bar item’s image is dependent on the settings of the bar item’s container (bar or popup menu) or the BarManager object. See the following options: Bar.GlyphSize, PopupMenu.GlyphSize, BarSubItem.SubItemsGlyphSize, BarManager.ToolbarGlyphSize, BarManager.MenuGlyphSize.

Small

A bar item is using a small image specified by the BarItem.Glyph property.

Medium

A bar item is using a medium image specified by the BarItem.MediumGlyph property.

Large

A bar item is using a large image specified by the BarItem.LargeGlyph property.

Custom

The size of the glyph is specified by the Size value.

Remarks

When showing a dropdown gallery (RibbonGalleryBarItem.DropDownGallery), it’s possible to add regular bar items below the gallery. These items will be displayed in the same popup window. The DropDownGalleryMenuItemsGlyphSize property specifies the size of the images for these items.

To specify the regular bar items to be displayed below the dropdown gallery, use the RibbonGalleryBarItem.DropDownMenuItemLinks or RibbonGalleryBarItem.Links property.

See Also