错误的按钮颜色mahapps地铁

时间:2014-03-16 07:45:39

标签: c# wpf mahapps.metro

我只是使用此代码

<Button Content="hi" 
        Style="{StaticResource AccentedSquareButtonStyle}" 
        HorizontalAlignment="Left" 
        VerticalAlignment="Top" 
        Width="223" Margin="0,316,0,0" Height="39"/>
xaml中的

<controls:MetroWindow x:Class="Launcher.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:controls="clr-namespace:MahApps.Metro.Controls;assembly=MahApps.Metro"
        Title="Launcher" 
        Height="455.745" 
        Width="690.319"
        ResizeMode="CanMinimize"
        WindowStartupLocation="CenterScreen"
        GlowBrush="{DynamicResource AccentColorBrush}">

但是当我点击它时,这个按钮颜色错误

http://i.stack.imgur.com/h7zYc.jpg

1 个答案:

答案 0 :(得分:0)

这是MahApps.Metro中的一个错误,并通过提交3f82d22修复。