Getting Started Guide

Download latest MetroToolkit installer or get latest source and build the solution.

Then open up your application and add references to the following MetroToolkit DLL's:
  • MetroToolkit.dll
  • MetroToolkit.Styles.dll
  • MetroToolkit.Controls.dll (optional)

Next open up your App.xaml and add a reference and update your Application.Resources section.
<Application x:Class="MetroToolkitBaseApp.App"
                <ResourceDictionary Source="/MetroToolkit.Styles;component/Resources/Styles/Dark/Brushes.xaml" />
                <ResourceDictionary Source="/MetroToolkit.Styles;component/Resources/Styles/Dark/CoreStyles.xaml" />                

Next add a reference to the MetroToolkit to your window xaml (ie MainWindow.xaml) and also set the Window Style:
<Window x:Class="MetroToolkitBaseApp.MainWindow"
        Style="{DynamicResource MetroWindow}">

Then add the Borderless Window Behaviour:
    <!-- Interaction Behaviors -->

Then set the Background color for the layout root:
    <Grid Name="LayoutRoot" Background="{DynamicResource MetroWindowBackground}">
        <!-- Main Content -->
            <!-- Add your content here -->

For more details on this checkout the sample base application in the Samples directory in source control.

Stay tuned for more updates and documentation.

Last edited Aug 9, 2011 at 6:30 PM by CodePlexUser11223, version 1


publicENEMY Mar 6, 2013 at 8:57 AM 
unable to compile. any guide to compile?

tonielro Oct 22, 2012 at 9:11 AM 
Where can I download metro tookit? The link seems not to be available.

S3NS4Ti0N Oct 18, 2012 at 6:19 PM 
Is this still under development ?

xexito Sep 10, 2012 at 8:48 PM 
Can anyone tell me what to do step by step?
Kind of: "Open the folder xxx" then "open the file xxxxx"... etc

lzzylqh May 21, 2012 at 3:15 AM 
Hello,I very like the MetroToolkit and intend to use it for small applications.But not found the MetroToolkit.Styles.dll.Can send to my mailbox?( ).Thank you very much!

Fredolas Mar 17, 2012 at 10:34 PM 
Great work!
Let me ask you a few questions...
I ran the samle on Win 7. It only works on Win 7 and Vista? What about XP? Do i need a TemplateSelector for the style?
Is there a way to make the window covers the hole screen (taskbar included like when you use WindowStyle="None")?
Is there a way to set a MinWidth and a MinHeight?

domf Mar 2, 2012 at 12:09 PM 
MetroToolkit.Styles.dll, when?

markawil Feb 8, 2012 at 9:06 PM 
I cannot get the MetroToolkitBaseApp to load the MainWindow.xaml.

I get the error that the <i:Interaction.Behaviors> type cannot be found. I looked in my references they're all there, including System.Windows.Interactivity.

programista Dec 26, 2011 at 10:55 AM 
What's with the project, any update ?

lanting Nov 16, 2011 at 11:31 PM 
There is no the MetroToolkit.Style.dll file, and I can't see the demo like the screenshot.

christothes Oct 12, 2011 at 8:56 PM 
The project doesn't seem to build MetroToolkit.Styles.dll. Am I missing something?

karanits Aug 26, 2011 at 8:17 AM 
so is MetroToolkit.Styles.dll the problem from Metrotwit? any indication when u would be releasing it?

CodePlexUser11223 Aug 9, 2011 at 7:43 PM 
Note: MetroToolkit.Styles.dll is not part of the source control yet. Stay tuned...this is coming shortly and this documentation reflects the state of the project as it is now and not what is currently checked in. Let me know if you have any questions.