This is a migrated thread and some comments may be shown as answers.

Reduce assembly theme windows8 used only in pivot

1 Answer 41 Views
PivotGrid
This is a migrated thread and some comments may be shown as answers.
MARIE
Top achievements
Rank 1
MARIE asked on 11 Apr 2013, 02:18 PM
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

1 Answer, 1 is accepted

Sort by
0
Rosen Vladimirov
Telerik team
answered on 12 Apr 2013, 07:08 AM
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.

Tags
PivotGrid
Asked by
MARIE
Top achievements
Rank 1
Answers by
Rosen Vladimirov
Telerik team
Share this question
or