RadTabItem.Content with another xaml file

2 posts, 0 answers
  1. Louis Bouchard
    Louis Bouchard avatar
    94 posts
    Member since:
    Feb 2010

    Posted 12 Jun 2010 Link to this post

    Hello,

    I don't want to put all my xaml lines between each of my RadTabItem.Content because it's too long.

    Someone can tell me how to refer to another xaml file that I put in my content?

    By example, I have a RadGridView under one tab, a DataForm under other one.  I want to put my RadGridView in another silverlight page and so on.

    Thank you.
  2. Viktor Tsvetkov
    Admin
    Viktor Tsvetkov avatar
    382 posts

    Posted 16 Jun 2010 Link to this post

    Hi Louis Bouchard,

    You can extract whatever you want in a loose xaml file as a ResourceDictionary and then you can refer to this xaml file in your actual ResourceDictionary via the Source property. For more information read this article.

    On a side note, I'd like to inform you that we've just released an online tool that allows you to reduce the size of your Silverilght applications. For more information, please visit http://blogs.telerik.com/blogs/posts/10-06-10/telerik_assembly_minifier.aspx

    Best wishes,
    Viktor Tsvetkov
    the Telerik team

    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
  3. DevCraft banner
Back to Top