How do i add a Extension (without .vsix) to my project

Answered How do i add a Extension (without .vsix) to my project

  • Wednesday, March 07, 2012 11:19 AM
     
     

    Hi,

    i'm new to Visual Studio and WPF and i really like to use a Theme for my new application.

    The Theme I want to use is this one: Visual Studio Elysium Theme

    I don't know how to install this theme and use it in my application.

    Can someone show me how to use it? Step-by-Step would be preferd ;)

    Thanks a lot, your help would be really appreciated.

    Niklas


    • Edited by Niklas.DBA Wednesday, March 07, 2012 11:21 AM spelling
    •  

All Replies

  • Wednesday, March 07, 2012 11:49 AM
     
     
  • Wednesday, March 07, 2012 2:11 PM
     
     

    Dear Andy,

    thanks for your Answer. Downloading and installing the Elysium theme with Nuget was quite easy.

    What steps do i need to take, before my application look like the sample application?

    When i run the application, it doesn't look like the sample application.

    I downloaded the sample application but no source code is supplied :(

  • Wednesday, March 07, 2012 4:20 PM
     
     Answered Has Code

    Never occured to me the sample would have no source code.

    They could definitely make it easier to understand how to work with it.

    If you want to see their source code then I think you're going to need Telerik JustCompile.

    To just try it you have to poke round in their forum.

    From the NuGet package console, if you find Elysium Theme there's a Project Information link.

    Click on that and poke around and you will/would find this example of an app.xaml

    <Application x:Class="Elysium.Theme.Test.App"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 StartupUri="MainWindow.xaml">
        <Application.Resources>
            <ResourceDictionary>
                <ResourceDictionary.MergedDictionaries>
                    <ResourceDictionary Source="/Elysium.Theme;component/Themes/Generic.xaml"/>
                </ResourceDictionary.MergedDictionaries>
                <!--Bug in .Net 4: http://connect.microsoft.com/VisualStudio/feedback/details/555322/global-wpf-styles-are-not-shown-when-using-2-levels-of-references-->
                <Style TargetType="{x:Type Window}"/>
            </ResourceDictionary>
        </Application.Resources>
    </Application>
    

    • Marked As Answer by Niklas.DBA Thursday, March 08, 2012 1:49 PM
    •  
  • Thursday, March 08, 2012 1:49 PM
     
     

    Thanks a lot Andy!

    I'll poke them at thier fourm :)

  • Friday, March 09, 2012 12:18 AM
     
     
    Hi! I'm developer of Elysium. I'm sorry, but so far I don't have time to develop project. Documentation will be published after beta release. Be patient, please.
  • Friday, March 09, 2012 9:59 AM
     
     

    Hi Alex,

    i've manged it to implement your theme in my project. It looks very nice now.

    It would be great if you can publish the source code for your sample application.

    I would really like to open the .sln and check out how you implement all those cool items.

    Can you send me the soulution?

    Keep up the good work!

  • Saturday, March 10, 2012 12:19 AM
     
     
    Hi! All source code available on Codeplex.
  • Friday, April 20, 2012 6:07 AM
     
     
    Hello! I'm working on a WPF project which I would give a touch metro. I installed the extension of Elysium.Theme afsherman. In the namespace Elysium.Theme.Controls this DLL, I want to use the control to change the Window of my MainWindow. I do not know how to do it