Skip to content

RibbonGalleryItem class

Displays a gallery of items in the ribbon or in a drop-down popup.

Namespace: Eremex.AvaloniaUI.Controls.Ribbon
Assembly: Eremex.Avalonia.Controls.dll
NuGet Package: Eremex.Avalonia.Controls

Declaration

public class RibbonGalleryItem : ToolbarButtonBaseItem, IGalleryItemsOwner

Public Members

name description
RibbonGalleryItem() Initializes a new instance of the RibbonGalleryItem class.
ActualColumnCount { get; } Gets the number of columns currently displayed in the inline gallery.
ActualItemsSource { get; } Gets the collection currently used to populate the gallery.
ColumnCount { get; set; } Gets or sets the preferred number of columns in the inline gallery.
DropDownCommand { get; set; } Gets or sets the command that opens the gallery's drop-down popup.
DropDownItems { get; } Gets the collection of menu commands displayed in the gallery's drop-down popup.
FocusedItem { get; set; } Gets or sets the gallery item that has keyboard focus.
GalleryDisplayMode { get; set; } Gets or sets whether the gallery is displayed inline or as a drop-down button.
IsDropDownHeaderVisible { get; set; } Gets or sets whether the gallery's drop-down popup displays a header.
IsPopupOpen { get; set; } Gets or sets whether the item's popup is open.
ItemHeight { get; set; } Gets or sets the height of gallery items.
Items { get; } Gets the collection of toolbar items.
ItemSelectionMode { get; set; } Gets or sets whether one or multiple gallery items can be selected.
ItemsSource { get; set; } Gets or sets the collection whose items are displayed in the gallery.
ItemTemplate { get; set; } Gets or sets the template used to display gallery items.
ItemWidth { get; set; } Gets or sets the width of gallery items.
MaxColumnCount { get; set; } Gets or sets the maximum number of gallery columns.
MaxDropDownColumnCount { get; set; } Gets or sets the maximum number of columns displayed in the gallery's drop-down popup.
MaxDropDownRowCount { get; set; } Gets or sets the maximum number of rows displayed in the gallery's drop-down popup.
MinColumnCount { get; set; } Gets or sets the minimum number of columns in the inline gallery.
SelectedItems { get; set; } Gets or sets the collection of selected gallery items.
StretchItemVertically { get; set; } Gets or sets whether gallery items stretch vertically to fill the available space.
ClosePopup() Closes the popup.

See Also

Used in articles