2017-07-27 98 views
5

我使用DXRibbonwindow这样的:如何设置DXRibbonWindow的称号,其中心

<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 我想要的标题是在窗口的标题栏的中间,但它没有,怎么我可以做到吗?我正在使用DevExpress 14.2.5。

使用 Visual Studio Blend或像它的解释 here 我会建议使用 Blend

回答

0

此问题发生的DevExpress的14.5,我升级它的版本到最新的17.1,则问题已经解决,谢谢DevExpress开发者。