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

what is the component here?

1 Answer 42 Views
Gauge
This is a migrated thread and some comments may be shown as answers.
allan lee
Top achievements
Rank 1
allan lee asked on 06 Jan 2010, 03:44 PM
hi there,

i noticed that there is a call of the assembly like this:

<ResourceDictionary.MergedDictionaries> 

<ResourceDictionary Source="/Examples.Gauge; component/Silverlight/RadGaugeResources.xaml" /> 

 

</ResourceDictionary.MergedDictionaries>


now I changed the source as

 ... Source=Gauge; RadGaugeResources.xaml"/>

and it always gives the error msg: " RadGaugeResources.xaml value out of limit". My questions as follows:

1) do i have to stick to the assembly name Examples.Gauge or can change that to my codes?

2) what is component? Is the format here just the path of the RadGaugeResources.xaml file?

3) Other place I see the line 

telerik

 

:Theme x:Key="QsfTheme" 
Source="/Telerik.Windows.QuickStart; component/Themes/generic.xaml" />

but i never found this generic.xaml file. Where is it? Thanks.

allan

 

 

 

 

1 Answer, 1 is accepted

Sort by
0
Velin
Telerik team
answered on 11 Jan 2010, 08:50 AM
Hi allan lee,

Onto your questions:
  1. The reference is to a resource dictionary located in the example project and contains resources used locally in the examples. You do not need these to use the gauge control in your custom project.
  2. The "component" defines the relative path of the resource dictionary within the assembly.
  3. The "Generic.xaml" resource dictionary is located in the  Telerik.Windows.QuickStart assembly. You  need to add reference to this assembly in order to use resource dictionary.
Hope this will help.
Regards,
Velin
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
Gauge
Asked by
allan lee
Top achievements
Rank 1
Answers by
Velin
Telerik team
Share this question
or