Skip to main content

RibbonControl.ToolbarShowMode Property

Gets or sets where and whether the Ribbon Quick Access Toolbar is displayed. This is a dependency property.

Namespace: DevExpress.Xpf.Ribbon

Assembly: DevExpress.Xpf.Ribbon.v24.1.dll

NuGet Package: DevExpress.Wpf.Ribbon

Declaration

public RibbonQuickAccessToolbarShowMode ToolbarShowMode { get; set; }

Property Value

Type Description
RibbonQuickAccessToolbarShowMode

A RibbonQuickAccessToolbarShowMode value that specifies the Toolbar’s display mode

Available values:

Name Description
Default

The same as the RibbonQuickAccessToolbarShowMode.ShowAbove option.

ShowAbove

The Ribbon Quick Access Toolbar is displayed above the Ribbon Control.

ShowBelow

The Ribbon Quick Access Toolbar is displayed below the Ribbon Control.

Hide

The Ribbon Quick Access Toolbar is hidden.

Remarks

To specify links to be displayed within the Ribbon Quick Access Toolbar, use the RibbonControl.ToolbarItemLinks collection. Changing the ToolbarShowMode property value at run time fires the RibbonControl.ToolbarModeChanged event.

Use the RibbonControl.RibbonTitleBarVisibility property to specify whether to show a bar that displays the Ribbon Quick Access Toolbar.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ToolbarShowMode property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also