Hello,
Is there anyway I can hide the application menu and the quick access toolbar like the following diagram?
This Ribbon Window is implemented using the Ribbon Control Library (downloaded from Office UI Licensing) that is CTP by the WPF Toolkit. However, the bad side is that the background color of the title bar follows the OS theme and I can't perform any modification to that. I would prefer to use Infragistics if the feature - hide both the application menu and quick access toolbar - is present.
copy paste the following in your xaml view:
<Style TargetType="{x:Type igRibbon:ApplicationMenu}"> <Setter Property="Visibility" Value="Collapsed"></Setter> <Setter Property="ToolTipService.ShowDuration" Value="20000" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type igRibbon:ApplicationMenu}"> <ContentPresenter x:Name="PART_MenuToolPresenterSite" /> </ControlTemplate> </Setter.Value> </Setter> </Style> <Style TargetType="{x:Type igRibbon:QuickAccessToolbar}"> <Setter Property="Visibility" Value="Collapsed" /> </Style>
I hope this helps. But there is no way i could change the colors