Try adding
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
instead of the commented line you got
<!-- <ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colours.xaml" /> -->
Note the change in spelling for the resource file. You need Colors.xaml
instead of Colours.xaml
and it should work fine.
Without Colors.xaml
you should have seen warnings such as:
System.Windows.ResourceDictionary Warning: 9 : Resource not found; ResourceKey='SemiTransparentWhiteBrush'
that indicates the Brush
required by those control's are missing and they are as we can guess defined in Colors.xaml
. So adding that resource should sort your issue out.