# RibbonPopupGallery class

Displays gallery items and optional menu commands in a resizable popup.

**Namespace:** [`Eremex.AvaloniaUI.Controls.Ribbon`](./index.md)  
**Assembly:** `Eremex.Avalonia.Controls.dll`  
**NuGet Package:** [Eremex.Avalonia.Controls](https://www.nuget.org/packages/Eremex.Avalonia.Controls)

## Declaration

```csharp
public class RibbonPopupGallery : PopupMenu, IGalleryItemsOwner, IResizeablePopupOwner
```

## Public Members

| name | description |
| --- | --- |
| [RibbonPopupGallery](RibbonPopupGallery/RibbonPopupGallery.md)() | Initializes a new instance of the RibbonPopupGallery class. |
| [ActualGalleryItemsSource](RibbonPopupGallery/ActualGalleryItemsSource.md) { get; } | Gets the collection currently used to populate the popup gallery. |
| [ActualGalleryItemTemplate](RibbonPopupGallery/ActualGalleryItemTemplate.md) { get; } | Gets the template currently used to display gallery items. |
| [ActualMaxColumnCount](RibbonPopupGallery/ActualMaxColumnCount.md) { get; set; } | Gets or sets the effective maximum number of gallery columns in the popup. |
| [ActualMaxRowCount](RibbonPopupGallery/ActualMaxRowCount.md) { get; set; } | Gets or sets the effective maximum number of gallery rows in the popup. |
| [CloseOnGalleryItemClick](RibbonPopupGallery/CloseOnGalleryItemClick.md) { get; set; } | Gets or sets whether clicking a gallery item closes the popup. |
| [GalleryItemHeight](RibbonPopupGallery/GalleryItemHeight.md) { get; set; } | Gets or sets the height of gallery items in the popup. |
| [GalleryItems](RibbonPopupGallery/GalleryItems.md) { get; } | Gets the collection of gallery items. |
| [GalleryItemSelectionMode](RibbonPopupGallery/GalleryItemSelectionMode.md) { get; set; } | Gets or sets whether one or multiple gallery items can be selected. |
| [GalleryItemsSource](RibbonPopupGallery/GalleryItemsSource.md) { get; set; } | Gets or sets the collection whose items are displayed in the popup gallery. |
| [GalleryItemTemplate](RibbonPopupGallery/GalleryItemTemplate.md) { get; set; } | Gets or sets the template used to display gallery items in the popup. |
| [GalleryItemWidth](RibbonPopupGallery/GalleryItemWidth.md) { get; set; } | Gets or sets the width of gallery items in the popup. |
| [HasMenuItems](RibbonPopupGallery/HasMenuItems.md) { get; } | Gets whether the gallery popup contains menu commands. |
| [MaxColumnCount](RibbonPopupGallery/MaxColumnCount.md) { get; set; } | Gets or sets the maximum number of gallery columns. |
| [MaxRowCount](RibbonPopupGallery/MaxRowCount.md) { get; set; } | Gets or sets the maximum number of gallery rows in the popup. |
| [ResizeMode](RibbonPopupGallery/ResizeMode.md) { get; set; } | Gets or sets the directions in which the gallery popup can be resized. |
| [SelectedGalleryItems](RibbonPopupGallery/SelectedGalleryItems.md) { get; set; } | Gets or sets the collection of selected items in the popup gallery. |

## See Also

* class [PopupMenu](../Eremex.AvaloniaUI.Controls.Bars/PopupMenu.md)
* interface [IGalleryItemsOwner](./IGalleryItemsOwner.md)
* namespace [Eremex.AvaloniaUI.Controls.Ribbon](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
