Plex 2E

 View Only
  • 1.  Can a WPF theme xaml be applied to CA Plex .Net App?

    Posted Sep 02, 2016 03:58 PM

    I would like to add a WPF Theme.xaml to a CA Plex .Net App to change the UI look.  I tried to apply a sample theme xaml using Visual Studio 2015, but the publish process generated errors regarding the CA Plex generated style references. 

     

    The Theme.xaml file was added as an "existing item" to the project.  Then the following code was added to the App.xaml before publishing:

     

    <ResourceDictionary>

    <ResourceDictionary.MergedDictionaries>

    <ResourceDictionary Source="Theme.xaml" />

    </ResourceDictionary.MergedDictionaries>

    </ResouceDictionary>



  • 2.  Re: Can a WPF theme xaml be applied to CA Plex .Net App?

    Posted Sep 03, 2016 01:29 PM

    without having the wpf licence the majority of us can't really help including me but i did enjoy the following articles:



  • 3.  Re: Can a WPF theme xaml be applied to CA Plex .Net App?

    Posted Sep 04, 2016 09:52 AM

    Just copy the definitions of your theme.xml into the yourapp.App.xaml right after the <Application.Resources> tag. 

     

    Best 

    Lorenz