<Window
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" x:Class="Tetris.MainWindow"
Title="MainWindow" Height="570" Width="525">
<DockPanel LastChildFill="False">
<StackPanel DockPanel.Dock="Right" Width="127">
<Label Content="Label" Height="56" Name="Scores" FrontSize="28" FrontWeight ="Bolt" />
<Label Content="Label" Height="56" Name="Lines" FrontSize="28" FrontWeight="Bolt"/>
</StackPanel>
</DockPanel>
所以,我嘗試使用FrontSize和FrontWeight在我的標籤,但它沒有工作 - 請告訴我我的錯誤?順便說一下,我的最後一個FrontWeight實際上工作。
沒有它不工作.. – user3013837
+1只是爲了epicness ... –