Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>from the <a href="https://github.com/MahApps/MahApps.Metro/wiki/Breaking-Changes-or-WTF-is-happening-with-the-ALPHA-version#colours---colors" rel="noreferrer">wiki</a></p> <blockquote> <h3>'Colours' -> 'Colors'</h3> <p>Yes, we changed all <code>Colours</code> to <code>Colors</code> ! The naming of the colors were inconsistent so we decided to change the naming. Also the resource dictionary goes from <code>Colours.xaml</code> to <code>Colors.xaml</code> .</p> </blockquote> <p>release notes for <a href="https://github.com/MahApps/MahApps.Metro/blob/master/docs/release-notes/0.11.0.md" rel="noreferrer">0.11.0</a></p> <h2>Quick How To</h2> <h3>Application</h3> <pre><code>&lt;Application x:Class="WpfApplication.App" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" StartupUri="MainWindow.xaml"&gt; &lt;Application.Resources&gt; &lt;ResourceDictionary&gt; &lt;ResourceDictionary.MergedDictionaries&gt; &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" /&gt; &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" /&gt; &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" /&gt; &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Blue.xaml" /&gt; &lt;ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" /&gt; &lt;/ResourceDictionary.MergedDictionaries&gt; &lt;/ResourceDictionary&gt; &lt;/Application.Resources&gt; &lt;/Application&gt; </code></pre> <h3>MainWindow</h3> <pre><code>&lt;controls:MetroWindow x:Class="WpfApplication.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="600" Width="800"&gt; &lt;Grid&gt; &lt;!-- now your content --&gt; &lt;/Grid&gt; &lt;/controls:MetroWindow&gt; </code></pre>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload