Back to Devexpress

RibbonGalleryBarItem.DropDownGalleryMenuItemsGlyphSize Property

wpf-devexpress-dot-xpf-dot-ribbon-dot-ribbongallerybaritem-e631edf3.md

latest3.3 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Wpf.Ribbon

Declaration

csharp
public GlyphSize DropDownGalleryMenuItemsGlyphSize { get; set; }
vb
Public Property DropDownGalleryMenuItemsGlyphSize As GlyphSize

Property Value

TypeDescription
GlyphSize

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

|

Available values:

NameDescription
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

DropDownGallery

DropDownMenuItemLinks

Links

RibbonGalleryBarItem Class

RibbonGalleryBarItem Members

DevExpress.Xpf.Ribbon Namespace