IBinaryRibbonComponentActAsGallery
interface.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WPF.Controls.Office
Implemented by galleries: a group shrinks them by showing fewer columns of items rather than by making them smaller, and shows them as a drop-down button when no columns are left.
public interface IBinaryRibbonComponentActAsGallery : IBinaryRibbonComponent
Inherits from / implements: IBinaryRibbonComponent
Members at a glance
| Properties | |
|---|---|
Columns | Gets or sets how many columns of items the gallery shows on the ribbon. |
DropDownColumns | Gets or sets how many columns of items the gallery shows once dropped down. |
IsCollapsed | Gets or sets whether the gallery is showing as a single drop-down button instead of a row of items, as it does when the ribbon runs out of room. |
| Methods | |
SetDropDownColumns | Sets how many columns of items the gallery shows once dropped down. |
Properties
Columns
int Columns
Gets or sets how many columns of items the gallery shows on the ribbon.
DropDownColumns
int DropDownColumns
Gets or sets how many columns of items the gallery shows once dropped down.
IsCollapsed
bool IsCollapsed
Gets or sets whether the gallery is showing as a single drop-down button instead of a row of items, as it does when the ribbon runs out of room.
Methods
SetDropDownColumns
void SetDropDownColumns(int columns)
Sets how many columns of items the gallery shows once dropped down.
Parameters
columns- The number of columns.