Bug Report T285796
Visible to All Users

RibbonHeaderVisibility causing ribbon buttons to overlap the window title bar

created 10 years ago

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>
Comments (2)
DevExpress Support Team 10 years ago

    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

      Answers approved by DevExpress Support

      created 9 years ago (modified 9 years ago)

      We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

      Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

        Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

        Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.