Close Parent Window when opening Child window using MVVM

2 posts, 0 answers
  1. Laura Edwards
    Laura Edwards avatar
    25 posts
    Member since:
    Jun 2010

    Posted 09 Aug 2010 Link to this post

    Hi,

    I am trying to open a rad window using a hyperlink button that is in a rad window. Is there a way to close the current/parent window when I open the new window? I am using MVVM and am unsure how to get the reference to the parent window. Any help would be great.
  2. Laura Edwards
    Laura Edwards avatar
    25 posts
    Member since:
    Jun 2010

    Posted 11 Aug 2010 Link to this post

    Nevermind I figured it out. I just subscribed to an action in the code behind of the window, and then set the action to close in the view model.
  3. DevCraft banner
Back to Top