Skip to content

RibbonControl class

Displays commands organized into pages and groups, with an application button and a Quick Access Toolbar.

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

Declaration

public class RibbonControl : TemplatedControl, IMxMainMenu, INavigatable

Public Members

name description
RibbonControl() Initializes a new instance of the RibbonControl class.
AllowQuickAccessToolbarCustomizationMenu { get; set; } Gets or sets whether users can open the Quick Access Toolbar customization menu.
ApplicationButtonCommand { get; set; } Gets or sets the command executed when the application button is activated.
ApplicationButtonCommandParameter { get; set; } Gets or sets the parameter passed to the application button's command.
ApplicationButtonContent { get; set; } Gets or sets the content displayed on the application button.
ApplicationButtonContentTemplate { get; set; } Gets or sets the template used to display the application button's content.
ApplicationButtonDropDownControl { get; set; } Gets or sets the popup displayed by the application button.
ApplicationButtonGlyph { get; set; } Gets or sets the image displayed on the application button.
ApplicationButtonKeyTip { get; set; } Gets or sets the key tip used to activate the application button.
CommandLayout { get; set; } Gets or sets the command layout used by the ribbon.
GlyphSizeInSimplifiedLayout { get; set; } Gets or sets the glyph size used in the simplified ribbon layout.
IsApplicationButtonVisible { get; set; } Gets or sets whether the application button is visible.
IsCommandLayoutSelectionButtonVisible { get; set; } Gets or sets whether the button for switching the ribbon command layout is visible.
IsQuickAccessToolbarCustomizationButtonVisible { get; set; } Gets or sets whether the Quick Access Toolbar customization button is visible.
IsQuickAccessToolbarVisible { get; set; } Gets or sets whether the Quick Access Toolbar is visible.
Manager { get; set; } Gets or sets the toolbar manager associated with this object.
PageHeaderItems { get; } Gets the collection of items displayed beside the ribbon page headers.
PageHeaderItemsSource { get; set; } Gets or sets the collection whose items are used to generate items beside the ribbon page headers.
Pages { get; } Gets the collection of ribbon pages.
PagesSource { get; set; } Gets or sets the collection whose items are used to generate ribbon pages.
QuickAccessToolbarItems { get; } Gets the collection of items displayed in the Quick Access Toolbar.
QuickAccessToolbarItemsSource { get; set; } Gets or sets the collection whose items are used to generate Quick Access Toolbar items.
QuickAccessToolbarLocation { get; set; } Gets or sets the location of the Quick Access Toolbar relative to the ribbon.
SelectedPage { get; set; } Gets or sets the currently selected ribbon page.
SerializationInfo { get; } Gets the layout information used during serialization or deserialization.
SmallGlyphSize { get; set; } Gets or sets the size used to display small ribbon glyphs.
event ApplicationButtonClick Occurs when the application button is clicked.
event ApplicationButtonPress Occurs when the pointer button is pressed over the application button.
ResetNavigation() Resets keyboard navigation within the ribbon.
RestoreLayout(…) Restores the layout from the specified stream using the default serialization settings. (2 methods)
SaveLayout(…) Saves the layout to the specified stream using the default serialization settings. (2 methods)
static GetDisplayMode(…) Gets the allowed ribbon display modes for the specified item.
static SetDisplayMode(…) Sets the allowed ribbon display modes for the specified item.

See Also

Used in articles