WPF Ribbon - Hide quick access toolbar

how do you hide Quick Access Toolbar in a WPF's Ribbon?

The Quick Access Toolbar is automatically hidden when the Ribbon control is in a RibbonWindow. When it is not, it seems impossible to hide it. I have already worked hours on this issue and was unable to hide it properly. But there is one simple workaround: Place the Ribbon control inside of a Panel and give it a negative top margin so it will slide outside of the Panel. Set the Panel's ClipToBounds property to true and the QAT will be hidden. By the way - there are multiple Ribbon implementations for WPF, even by Microsoft themselves ("Fluent Ribbon" and "Microsoft Ribbon for WPF"), so next time you should mention which one you are talking about.

Hiding Quick Access Toolbar button, The Quick Access Toolbar is automatically hidden when the Ribbon control is in a RibbonWindow. When it is not, it seems impossible to hide it. I have already  Ribbon Quick Access Toolbar The Ribbon Quick Access Toolbar is a customizable element which is designed to provide end-users with one-click access to the most important and mostly used features. By default, this toolbar is displayed above the Ribbon Control .

For Microsoft Ribbon for WPF, you can hide it by using the VisualTreeHelper. On the Loaded event handler, just resize the row containing the Quick Access Toolbar to 0 :

private void RibbonLoaded(object sender, RoutedEventArgs e)
{
  Grid child = VisualTreeHelper.GetChild((DependencyObject)sender, 0) as Grid;
  if (child != null)
  {
    child.RowDefinitions[0].Height = new GridLength(0);
  }
}

https://social.msdn.microsoft.com/Forums/windows/e, If it's not possible, how/where can I add my custom control to render instead of QuickAccessToolbar on RibbonWindow toolbar? In my sample in  Gets or sets a RibbonMenuButton that is used to show the Quick Access Toolbar customization menu. DataContext: Gets or sets the data context for an element when it participates in data binding. (Inherited from FrameworkElement) DefaultStyleKey: Gets or sets the key to use to reference the style for this control, when theme styles are used or defined.

Or if you want it all in the XAML, this works

<ribbon:Ribbon>
    <ribbon:Ribbon.Loaded>CollapseQuickAccessToolbar</ribbon:Ribbon.Loaded>
    <x:Code>
        private void CollapseQuickAccessToolbar(Object sender, RoutedEventArgs e) {
            ((Grid)VisualTreeHelper.GetChild((DependencyObject)sender, 0)).RowDefinitions[0].Height = new GridLength(0);
        }
    </x:Code>
</ribbon:Ribbon>

How to Disable show quick access toolbar below the ribbon, Windows Presentation Foundation (WPF). Windows Sign in to vote. I have a Ribbon Control, if a right click on the control with Mouse am getting following options. 1). show quick access toolbar above\below the ribbon. 2). Hiding Quick Access Toolbar button. Ribbon for WPF Forum. Previous thread Back to Forum Up Next thread. Posted 11 years ago by uran1. That would probably "hide" it.

Here is the solution :

this.ribbonControl1.ToolbarLocation = DevExpress.XtraBars.Ribbon.RibbonQuickAccessToolbarLocation.Hidden;

How to Remove (or disable) "Show Quick Access Tool Bar Above , On right click of the xamRibbon control we get the "Show Quick Access Toolbar Above the Ribbon". How can this be removed? If not removed,  Although Quick Access Toolbar is a part of Ribbon, it can be displayed on top or bottom of the ribbon. We can also display it on application title bar by using RibbonWindow instead of regular WPF window. Quick Access Toolbar is displayed irrespective of the ribbon tab selected.

Bit late to the party.

<my:Ribbon   >
            <my:Ribbon.ApplicationMenu >
                <my:RibbonApplicationMenu Visibility="Collapsed">
                </my:RibbonApplicationMenu>
            </my:Ribbon.ApplicationMenu>

This will help to hide the quick bar

Ribbon Quick Access Toolbar | WPF Controls, The Ribbon Quick Access Toolbar is a customizable element which is designed to provide end-users with one-click access to the most  Saving and Restoring Layout. The Quick Access Toolbar supports runtime customization. An end-user can add bar commands displayed within Ribbon page groups to the Toolbar using context menus. However, runtime changes to the Toolbar are not saved between application runs. The layout of bar commands within the Toolbar must be saved,

T676156, My WPF application contains main window with RibbonControl and login window of type DXWindow. When I login to the application, DXWindow  The Quick Access Toolbar is automatically hidden when the Ribbon control is in a RibbonWindow. When it is not, it seems impossible to hide it. I have already worked hours on this issue and was unable to hide it properly.

Quick Access Toolbar in Windows Forms Ribbon control, Hide Quick Access Toolbar. To hide Quick Access Toolbar, set the property QuickPanelVisible as false. c#; VB.NET. is there a way to hide the possibility "Remove from Quick Access Toolbar" on a control in the QAT which is not a clone of a control in the application menu? in my situation, when i click "Remove from Quick Access Toolbar" the button disappears and i never get it back.. :( thanks in advance.

WPF RibbonView | Quick Access Toolbar, Suffice it to execute the QuickAccessMenu's "Show below/above the Ribbon" command. Hiding the 

Comments
  • Do you want there to never be a Quick Access Toolbar, or are you looking for show/hide functionality? I'm using the Microsoft Ribbon, and I have no buttons in my QAT by default and nothing shows up there.
  • I want to permanently hide it. That's probably because you use RibbonWindow and I use normal Windows, because RibbonWindow looks like a piece of s.. in Win XP.
  • Gotchya... I do use RibbonWindow. And I agree... looks terrible in XP.
  • It's WPF Ribbon preview from wpf.codeplex.com/wikipage?title=WPF%20Ribbon%20Preview
  • Just a note if you started with a stock RibbonWindow as I did: I changed the window type to Window in both XAML and code-behind, added ClipToBounds="true" to the LayoutRoot grid, and gave the ribbon a top margin of -22.
  • @Sean yeah, the value of -22 seems to be the right one.
  • Too bad it doesn't fix the designer window, but I can live with it. Beats out the other solutions here
  • Your answer doesn't work for me. Btw, in my case the ribbon is inside a grid.
  • Doesn't work for me. Is there something else that needs done?
  • @psubsee2003 : By setting this property, I was able to hide the tool bar. I also set the context menu to "{x:Null}" at ribbon, button group and button levels to disable the context menu.