How do I use the Elysium Project?

 ̄綄美尐妖づ 提交于 2020-01-01 03:21:10

问题


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


回答1:


  • 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.




回答2:


For Elysium 1.5 onwards, here's the step

  • Download and extract zip file.
  • Look for "Elysium.dll" and "Elysium.Notifications.dll". You might need to extract a zip again if you are using x86 system.
  • Add reference to both Elysium.dll and Elysium.Notifications.dll
  • Add Elysium theme controls at the visual studio toolbox
  • Drag and drop any Elysium theme control to your user interface, visual studio will automatically add the xmlns reference in the xaml.

Refer http://bizvise.com/2012/09/24/how-to-install-elysium-on-visual-studio-project/ for a complete step by step guide.




回答3:


For Elysium Version 2.0, here's what I did:

  1. Download the SDK here.
  2. Extract the .zip file.
  3. Install the correct .exe file (x86 or x64).
  4. Restart your Visual Studio (if opened).
  5. Create a new project with WPF Metro application:

  6. Finally, you can add the controls manually on your toolbar:

If you like this extension, then you can donate on their website.




回答4:


Download SDK from here and intall the SDK. It integrates with Visual Studio and you have Metro WPF template as well.



来源:https://stackoverflow.com/questions/11704835/how-do-i-use-the-elysium-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!