i have problem with ThemeAwareBackgroundBehavior.IsEnabled="True"

2 posts, 0 answers
  1. Masoud
    Masoud avatar
    15 posts
    Member since:
    Aug 2013

    Posted 11 Jul 2014 Link to this post

    hi everybody
    i wanna use raddocking
    but when i want use telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" i get error

    i add   xmlns:telerikQuickStart="clr-namespace:Telerik.Windows.Controls.QuickStart;assembly=QuickStart.Common" but dont help me
    some thread write
    but this not work in my project
    <Page x:Class="WpfAtestdock.Page1"
          mc:Ignorable="d" d:DesignHeight="300" d:DesignWidth="300" Title="Page1">
            <telerik:RadDocking BorderThickness="0" Padding="0" telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled="True" >
                        <telerik:RadDocumentPane Header="document1" Title="document1"/>
                <telerik:RadSplitContainer Orientation="Vertical" InitialPosition="DockedLeft">
                        <telerik:RadPane Header="pan left1">
                            <TextBlock Text="pan left 1"/>
                        <telerik:RadPane Header="pane left 2">
                            <TextBlock Text="pane left 2"/>

    please see my attach file

    An unhandled exception of type 'System.IO.FileLoadException' occurred in PresentationCore.dll

    information: Could not load file or assembly 'Telerik.Windows.Controls,
    Version=2013.3.1016.40, Culture=neutral,
    PublicKeyToken=5803cfa389c90ce7' or one of its dependencies. The located
    assembly's manifest definition does not match the assembly reference.
    (Exception from HRESULT: 0x80131040)
  2. Kalin
    Kalin avatar
    1353 posts

    Posted 14 Jul 2014 Link to this post

    Hello Masoud,

    The telerikQuickStart:ThemeAwareBackgroundBehavior.IsEnabled property is used for the implementation of our examples. It is not Docking property and you don't need it to be able to create the example at all. So please try to remove that from the Docking definition and you will be able to build and run the same code without a problem.

    Hope this helps.

    Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
Back to Top