Hello. I'm trying to setup a ribbon in a window where the ribbon's header (the tabs) are hidden or collapsed. I've been changing the RibbonHeaderVisibility parameter which does seem to hide or show the header, however when collapsed, it is overlapping my window's (which is a DXRibbonWindow) title bar. For example, I've added some text into the Title parameter and I can see it when the RibbonHeaderVisibility is set to Visible, but when set to collapsed it seems to be overlapped by the ribbon control.
I would like to use a collapsed ribbon while being able to see the window's title/icon/etc.
Attached is an image and below is my window's code.
XAML<dxr:DXRibbonWindow
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:dx="http://schemas.devexpress.com/winfx/2008/xaml/core"
xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
xmlns:local="clr-namespace:Unfolder.View"
xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
x:Class="Unfolder.View.UFMaterialManagerView"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="400" Height="300" Width="400" IsRibbonCaptionVisible="True" Title="Unfolder Material Manager" WindowStartupLocation="CenterScreen" ResizeMode="NoResize">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
<RowDefinition Height="30"/>
</Grid.RowDefinitions>
<dxr:RibbonControl Width="Auto" AllowCustomization="False" AllowKeyTips="False" AllowMinimizeRibbon="False" RibbonStyle="OfficeSlim" ShowApplicationButton="False" ToolbarShowCustomizationButton="False" ToolbarShowMode="Hide" RibbonHeaderVisibility="Collapsed" IsHeaderBorderVisible="True" RibbonTitleBarVisibility="Visible">
<dxr:RibbonDefaultPageCategory Caption="defaultCategory" IsVisible="False">
<dxr:RibbonPage Caption="Home">
<dxr:RibbonPageGroup Caption="Tools">
<dxb:BarButtonItem Content="Add"/>
<dxb:BarButtonItem Content="Delete"/>
</dxr:RibbonPageGroup>
</dxr:RibbonPage>
</dxr:RibbonDefaultPageCategory>
</dxr:RibbonControl>
<Grid Grid.Row="1" Background="White">
<Button Content="OK" HorizontalAlignment="Right" Height="25" VerticalAlignment="Center" Width="90" Command="{Binding OKCommand}" Margin="0,0,10,0"/>
</Grid>
</Grid>
</dxr:DXRibbonWindow>
Hi Paul,
The current DXRibbon appearance does not seem to be correct. We will research why this issue occurs and discuss possible ways of resolving it. We will let you know once we have any news.
OK thanks