© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
C#C
C#•3y ago•
8 replies
Mathéo

❔ Best way to structure MVVM WPF App for multiples popups

Hi ! I have a (nooby) WPF question.
So I'm using MVVM paterns
Here is my folder structure:
/MVVM
  /Model
    Employee.cs
  /View
    EmployeesView.xaml
    MainView.xaml
  /ViewModel
    EmployeesViewModel.cs
    MainViewModel.cs
/MVVM
  /Model
    Employee.cs
  /View
    EmployeesView.xaml
    MainView.xaml
  /ViewModel
    EmployeesViewModel.cs
    MainViewModel.cs

I would like to add popups for my employees part (Like view employee detail, edit employee detail and add employee)
I don't know how to do that, should I create a custom user control ? should I put all of my popups straight in EmployeesView.xaml (which seem not very clean) ? I'm begginer to wpf so your experience will help me 🙂
Thank you, have a nice day
C# banner
C#Join
We are a programming server aimed at coders discussing everything related to C# (CSharp) and .NET.
61,871Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

❔ Best Option to Swicth views in MVVM wpf
C#CC# / help
3y ago
WPF Question MVVM
C#CC# / help
2y ago
✅ wpf json CRUD(mvvm)
C#CC# / help
2y ago
WPF MVVM login form
C#CC# / help
2y ago