Styling RadDocking

3 posts, 0 answers
  1. Edward
    Edward avatar
    13 posts
    Member since:
    Oct 2013

    Posted 13 Apr 2014 Link to this post

    Please tell me to style raddocking.

    Using the code samples from online examples, seem to have the following code:
    <telerik:RadDocking x:Name="Docking"  telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True"  BorderThickness="0" Padding="0">

    But the code for telerikQuickStart:ThemeAwareBackgroundBehavior is missing.
    I would like to style the raddock with Office2013 theme.  Please tell me method or where to get the missing code or where to get the source code for the QuickStart/Example projects.

    New to this.

  2. Edward
    Edward avatar
    13 posts
    Member since:
    Oct 2013

    Posted 13 Apr 2014 in reply to Edward Link to this post

    Figured out how to do it using implicit styles.  Had to add Telerik.Windows.Controls.Docking.xaml from the installation folder to the Themes folder in the project and then add to Application.Resources in App.xaml file.
    Under ResourceDictionary.MergedDictionaries:

    <ResourceDictionary Source="Themes/Office2013/Telerik.Windows.Controls.Docking.xaml" />

    These imports and entries in App.xaml was actually created for DataVisualization.xaml when I created the project because I selected implicit styling using the Telerik Silverlight project template, but I hadn't selected Docking.xaml at that time.  But added it manually as described above and works automagically.
  3. Yana
    Yana avatar
    4604 posts

    Posted 15 Apr 2014 Link to this post

    Hello Edward,

    I am glad to hear that you've managed to resolve the issue.

    Additionally, I'd like to note that instead of copying the xaml files you could reference the theme assembly and merge the resource dictionaries from there. Please check the following topic for more details:
    Setting a Theme (Using Implicit Styles).


    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.

Back to Top