I want to close a User Control , in MVVM.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Vinayaga Raj
    New Member
    • Sep 2014
    • 1

    I want to close a User Control , in MVVM.

    I have created a user control , i'm able to close the whole app... but i want to close only the user control. I have not added the user control in the app, and removed the user control from the app..

    this is the code i used in mvvm to open the user contol


    Window window = new Window
    {
    Title = "Sl",
    Content = new View,
    DataContext = new ViewModel()

    };
Working...