Reduce assembly theme windows8 used only in pivot

2 posts, 0 answers
  1. MARIE
    MARIE avatar
    19 posts
    Member since:
    Mar 2013

    Posted 11 Apr 2013 Link to this post

    Hi all,

    We use a PivotGrid in our solution. We have added a new project to styling this Pivot like in this demo http://www.telerik.com/help/silverlight/common-styling-apperance-modifying-built-in-theme.html. With this solution, our XAP is a little big and we want to reduce it.
    My question is, as we only use the PivotGrid, can we reduce the size of the Windows8 project by removing some unused references? If yes, which ones? Or is there an other way?

    Regards,

    HP
  2. Rosen Vladimirov
    Admin
    Rosen Vladimirov avatar
    640 posts

    Posted 12 Apr 2013 Link to this post

    Hi,

    In order to reduce the size, you can use our NoXaml binaries. But you will have to merge some resources to visualize RadPivotGrid. You can put your modified theme in a xaml file inside the project and merge it as a resource in your App.xaml. This way the size of the XAP will be much smaller. Please note that if you have other Telerik controls, you will have to merge their resources as well. You can check this article for more information. The approach is pretty simple - include the theme assembly in your project and merge only needed xaml resources.

    I'm sending you a simple project demonstrating this approach. Could you check it and inform us if it works for you?

    Greetings,
    Rosen Vladimirov
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  3. DevCraft banner
Back to Top