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

    please see my attach file
    http://uplod.ir/jj74goijoexi/WpfAtestdock.zip.htm


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

    Additional
    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
    Admin
    Kalin avatar
    1207 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.

    Regards,
    Kalin
    Telerik
     
    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.
     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top