Prism and RAD Window

5 posts, 1 answers
  1. Darren
    Darren avatar
    3 posts
    Member since:
    Dec 2013

    Posted 19 May 2015 Link to this post

    I have changed my shell to a RadWindow, the problem is I now get unable to cast to Window in the BootStrapper. Is there a way around this?

     

     

     

     

  2. Answer
    Kalin
    Admin
    Kalin avatar
    1252 posts

    Posted 22 May 2015 Link to this post

    Hi Darren,

    Check the attached sample project that demonstrates how to use RadWindow as a Shell in PRISM application.

    Hope this helps.

    Regards,
    Kalin
    Telerik
    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 Feedback Portal and vote to affect the priority of the items
  3. Darren
    Darren avatar
    3 posts
    Member since:
    Dec 2013

    Posted 22 May 2015 in reply to Kalin Link to this post

    That's great thank you 
  4. steven
    steven avatar
    32 posts
    Member since:
    Aug 2014

    Posted 29 Mar in reply to Kalin Link to this post

    I am having using a telerik wpf radwindow as the shell in a prism application.

    The prism   ViewModelLocator.AutoWireViewModel does seem to pick the radwindow's viewmodel automatically at run time to associate the viewmodel to the view. The Radwindow is assigned in the view folder and the corresponding viewmodel is assigned in the viewmodel folder. Could you take a look at code and the me know what is wrong? The attached file is actually a zip file. You will need to change the ong to zip after downloading. Prism 6.3 is the version of prism used.

  5. Kalin
    Admin
    Kalin avatar
    1252 posts

    Posted 03 Apr Link to this post

    Hello Steven,

    The views should be in .Views child namespace in order to get it working as expected, as explained in this article from the Prism documenation in MSDN:

    This convention assumes that view models are in the same assembly as the view types, that view models are in a .ViewModels child namespace, that views are in a .Views child namespace, and that view model names correspond with view names and end with "ViewModel.". 

    Hope this helps.

    Regards,
    Kalin
    Telerik by Progress
    Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.
Back to Top