# RibbonGalleryItem class

Displays a gallery of items in the ribbon or in a drop-down 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 RibbonGalleryItem : ToolbarButtonBaseItem, IGalleryItemsOwner
```

## Public Members

| name | description |
| --- | --- |
| [RibbonGalleryItem](RibbonGalleryItem/RibbonGalleryItem.md)() | Initializes a new instance of the RibbonGalleryItem class. |
| [ActualColumnCount](RibbonGalleryItem/ActualColumnCount.md) { get; } | Gets the number of columns currently displayed in the inline gallery. |
| [ActualItemsSource](RibbonGalleryItem/ActualItemsSource.md) { get; } | Gets the collection currently used to populate the gallery. |
| [ColumnCount](RibbonGalleryItem/ColumnCount.md) { get; set; } | Gets or sets the preferred number of columns in the inline gallery. |
| [DropDownCommand](RibbonGalleryItem/DropDownCommand.md) { get; set; } | Gets or sets the command that opens the gallery's drop-down popup. |
| [DropDownItems](RibbonGalleryItem/DropDownItems.md) { get; } | Gets the collection of menu commands displayed in the gallery's drop-down popup. |
| [FocusedItem](RibbonGalleryItem/FocusedItem.md) { get; set; } | Gets or sets the gallery item that has keyboard focus. |
| [GalleryDisplayMode](RibbonGalleryItem/GalleryDisplayMode.md) { get; set; } | Gets or sets whether the gallery is displayed inline or as a drop-down button. |
| [IsDropDownHeaderVisible](RibbonGalleryItem/IsDropDownHeaderVisible.md) { get; set; } | Gets or sets whether the gallery's drop-down popup displays a header. |
| [IsPopupOpen](RibbonGalleryItem/IsPopupOpen.md) { get; set; } | Gets or sets whether the item's popup is open. |
| [ItemHeight](RibbonGalleryItem/ItemHeight.md) { get; set; } | Gets or sets the height of gallery items. |
| [Items](RibbonGalleryItem/Items.md) { get; } | Gets the collection of toolbar items. |
| [ItemSelectionMode](RibbonGalleryItem/ItemSelectionMode.md) { get; set; } | Gets or sets whether one or multiple gallery items can be selected. |
| [ItemsSource](RibbonGalleryItem/ItemsSource.md) { get; set; } | Gets or sets the collection whose items are displayed in the gallery. |
| [ItemTemplate](RibbonGalleryItem/ItemTemplate.md) { get; set; } | Gets or sets the template used to display gallery items. |
| [ItemWidth](RibbonGalleryItem/ItemWidth.md) { get; set; } | Gets or sets the width of gallery items. |
| [MaxColumnCount](RibbonGalleryItem/MaxColumnCount.md) { get; set; } | Gets or sets the maximum number of gallery columns. |
| [MaxDropDownColumnCount](RibbonGalleryItem/MaxDropDownColumnCount.md) { get; set; } | Gets or sets the maximum number of columns displayed in the gallery's drop-down popup. |
| [MaxDropDownRowCount](RibbonGalleryItem/MaxDropDownRowCount.md) { get; set; } | Gets or sets the maximum number of rows displayed in the gallery's drop-down popup. |
| [MinColumnCount](RibbonGalleryItem/MinColumnCount.md) { get; set; } | Gets or sets the minimum number of columns in the inline gallery. |
| [SelectedItems](RibbonGalleryItem/SelectedItems.md) { get; set; } | Gets or sets the collection of selected gallery items. |
| [StretchItemVertically](RibbonGalleryItem/StretchItemVertically.md) { get; set; } | Gets or sets whether gallery items stretch vertically to fill the available space. |
| [ClosePopup](RibbonGalleryItem/ClosePopup.md)() | Closes the popup. |

## See Also

* class [ToolbarButtonBaseItem](../Eremex.AvaloniaUI.Controls.Bars/ToolbarButtonBaseItem.md)
* interface [IGalleryItemsOwner](./IGalleryItemsOwner.md)
* namespace [Eremex.AvaloniaUI.Controls.Ribbon](./index.md)

<!-- DO NOT EDIT: generated by xmldocmd for Eremex.Avalonia.Controls.dll -->
