2017-07-27 90 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開發者。