what is the component here?

2 posts, 0 answers
  1. allan lee
    allan lee avatar
    16 posts
    Member since:
    Dec 2009

    Posted 06 Jan 2010 Link to this post

    hi there,

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


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



    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 



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

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






  2. Velin
    Velin avatar
    391 posts

    Posted 11 Jan 2010 Link to this post

    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.
    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.
Back to Top