Search code examples
c#wpfthemesexpression-blend

How do I use the Elysium Project?


The Elysium project on CodePlex looks interesting. One problem. I can't figure out how to use it. I can only assume that there is an assumption that the user knows what he or she is doing. I don't apparently. I download the Debug Binary from here. It has a batch file for loading the files, and it looks to have run without error. But I can't figure out where to go from here. When I open Blend, I see no templates or themes. Can someone please help?

Thanks


Solution

    • Download the binaries either from Codeplex or Nuget.
    • Add references to the binaries: Elysium.Theme.dll, Microsoft.Expression.Interactions.dll, Microsoft.Windows.Shell.dll and System.Windows.Interactivity.dll
      • Note: some of the binaries that come with the package aren't added correctly if you do it via Nuget so you'll have to add them manually.
    • When you add a new window to your application, add this namespace to your XAML: xmlns:metro="http://schemas.codeplex.com/elysium/theme"
    • Then change your XAML so that the window isn't just a <Window ..>...</Window> but is instead a <metro:Window ..>...</metro:Window>.
    • There are lots of other examples in the test project on the Elysium site which show how to use the custom controls, etc.

    That should get you started.

    Best of luck.