Implicit style, empty window or exception in designer

2 posts, 0 answers
  1. Bert
    Bert avatar
    29 posts
    Member since:
    May 2012

    Posted 11 Nov 2014 Link to this post

    Hello,

    I created a user control and changed it into a RadWindow. The application is using the Windows 8 touch theme with an implicit style. The libarary version is Telerik 2014 Q3.

    The Visual Studio 2013 Designer shows either an empty window or a null reference exception when I have set references to Telerik Libraries in a custom folder. The Window is shown properly when the Telerik libraries are loaded from the installation folder. 

    I have used the technique as mentioned in: http://www.telerik.com/help/wpf/radwindow-how-to-use-radwindow-as-user-control.html  The exception is shown in the designer when the style is applied to the window via Style ="{DynamicResource RadWindowStyle}" instead of setting it in App.xaml. The theme xaml files are loaded from the Theme dll.

    Kind regards,
    Bert



  2. Kalin
    Admin
    Kalin avatar
    1207 posts

    Posted 11 Nov 2014 Link to this post

    Hi Bert,

    I tested the described scenario with the latest release and was not able to observe any issues - RadWindow was visible in the designer. Can you please share some sample code demonstrating the exact set up in your application, so we can recreate it on our side? Meanwhile you can try deleting the bin/obj folders of the solution and rebuilding it afterwards.

    I'm looking forward to your response.

    Regards,
    Kalin
    Telerik
     

    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.

     
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top