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

How to add controls to an already developed windows phone 8.1 universal application

1 Answer 56 Views
General Discussion
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Rishi
Top achievements
Rank 1
Rishi asked on 22 Aug 2014, 07:53 AM
Hi team,

I am kind of new to this mobile development. I have created one app that pulls data from my database and presents it. I want to add a new frame that has a pie chart and i have no idea on how to add telerik control to that frame. Please help me out. I have already installed telerik famework. 

1 Answer, 1 is accepted

Sort by
0
Ves
Telerik team
answered on 26 Aug 2014, 06:35 AM
Hi Rishi,

Adding Telerik controls to a Windows Universal app is done just like adding any other third party library: You will need to add reference to one or more assembly. In the .zip file you have downloaded you will find a folder Help with Telerik_UI_for_WindowsUniversalTelerik_UI_for_WindowsUniversal.chm inside it. In this help file there is a section for every control and there is a Getting Started and/or Overview help topic for each of the controls. In these topics you can find which assemblies you need to add references to in order to use that control. E.g. for the chart you need to add references to Telerik.Universal.Core.dll, Telerik.Universal.UI.Xaml.Primitives.dll and Telerik.Universal.UI.Xaml.Chart.dll.

Then you need to add the xmlns definition: xmlns:telerikChart="using:Telerik.Universal.UI.Xaml.Controls.Chart" and now you can add a pie chart like this:

<telerikChart:RadPieChart  x:Name="pieChart" PaletteName="DefaultDark">
    <telerikChart:PieSeries ShowLabels="True">
        <telerikChart:PieSeries.ValueBinding>
            <telerikChart:PropertyNameDataPointBinding PropertyName="Value"/>
        </telerikChart:PieSeries.ValueBinding>
    </telerikChart:PieSeries>
</telerikChart:RadPieChart>

You can find more details in the help file mentioned above.

Best regards,
Ves
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
General Discussion
Asked by
Rishi
Top achievements
Rank 1
Answers by
Ves
Telerik team
Share this question
or