I am working on a tabbed editor with multiple windows. User can open new tabs to edit different files or open a new window to edit different sets of files, also drag and drop across windows is supported. I want to know which approach will be better, should I create multiple instances of the app or should I use multiple views to display different windows. What are the pros and cons of each approach??
The specific display mode needs to be determined according to the actual usage of your application.
The common design of UWP application is single instance and multiple views. Multi-instance is only for desktop and IOT devices, and there are some restrictions on the background task, the specific content can check this document.
In your editor application, you can do different treatments for different situations.
If the user only needs to edit a single file, then create multiple tabs under the current application view. If the user needs to edit or browse multiple files at the same time, you may consider adding a button in the editor so that the user can separate it into a new window.
About the application scenarios of multi-view, there are instructions in this document:
Thanks.