Mahapps地铁窗口标题

问题描述 投票:-1回答:1

我正在使用MahApps.Metro MetroWindow

我按以下方式分配我的标题:

Title="My Application"

但它将标题显示为“我的应用程序”。

我通过将Title设置为“我的”来交叉验证它,但它显示“我的”。

希望我需要设置一些属性属性来解决这个问题。

c# wpf xaml mahapps.metro
1个回答
4
投票

只需将窗口的TitleCaps属性设置为false即可

<Controls:MetroWindow x:Class="MahApps.Metro.Simple.Demo.MainWindow"
                  xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                  xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                  xmlns:Controls="http://metro.mahapps.com/winfx/xaml/controls"
                  Title="MainWindow"
                  Height="200"
                  Width="600"
                  TitleCaps="False">

那应该是它。

© www.soinside.com 2019 - 2024. All rights reserved.