2017-07-27 5 views
5

J'utilise DXRibbonwindow comme ceci:Comment définir le titre de DXRibbonWindow dans son centre

<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 Je veux que le titre soit au milieu de la barre de titre de la fenêtre, mais il ne fonctionne pas, comment puis-je le faire? J'utilise DevExpress 14.2.5.

Répondre

0

Ce problème est survenu dans la version 14.5 de DevExpress, je mets à jour sa version à 17,1 nouvelle alors la problème a été résolu, merci pour le développeur DevExpress.