5

I'm using DXRibbonwindow like this:

<dxr:DXRibbonWindow  x:Class="MyNameSpace.MyRibbonWindow"
    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:dxn="http://schemas.devexpress.com/winfx/2008/xaml/navbar"
    xmlns:dxb="http://schemas.devexpress.com/winfx/2008/xaml/bars"
    xmlns:dxd="http://schemas.devexpress.com/winfx/2008/xaml/docking"
    xmlns:dxlc="http://schemas.devexpress.com/winfx/2008/xaml/layoutcontrol"
    xmlns:dxr="http://schemas.devexpress.com/winfx/2008/xaml/ribbon"
    xmlns:dxmvvm="http://schemas.devexpress.com/winfx/2008/xaml/mvvm"
    SnapsToDevicePixels="True"
    WindowStartupLocation="CenterScreen" WindowState="Maximized"
    Title="title">
    <Grid>
        ...
    </Grid>
</dxr:DXRibbonWindow>

enter image description here I want the title to be in the middle of the window's titlebar, but it doesn't, how can i make it? I'm using DevExpress 14.2.5 .

starkshang
  • 8,228
  • 6
  • 41
  • 52

2 Answers2

1

Override default control template using Visual Studio Blend or like it's explained here I would recommend to use Blend see an example and the difference blend and VS editors

ASpirin
  • 3,601
  • 1
  • 23
  • 32
0

This problem occured in version 14.5 of DEVExpress, I upgrade its version to the newest 17.1 then the problem has been solved, thanks for the DevExpress developer.

starkshang
  • 8,228
  • 6
  • 41
  • 52