Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6153817
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T20:09:18+00:00 2026-05-23T20:09:18+00:00

I was looking at a video that explain pretty well MVVM. However, it seem

  • 0

I was looking at a video that explain pretty well MVVM. However, it seem to only show an one window application model. What do you have to do if you want to handle a multi-windows model ?

From what i see.. the app.xaml is linked to the MainWindow (as DataContext). Since app.xaml is the starting point it execute the MainWindow. The MainWindow have ViewModels as a bind so it can handle his ViewModels.. but all this are only for one windows.. what happen with you want to introduce a second window ? How do you proceed ?

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T20:09:19+00:00Added an answer on May 23, 2026 at 8:09 pm

    You can instantiate your view (Window) type from the main windows view model via a service, injected as an abstraction. You can then set the DataContext of this Window programmatically within the service, locate the appropriate view and use myWindow.Show() or myWindow.ShowDialog() to display the Window. An MVVM framework such as Caliburn.Micro has a WindowManager for taking care of the view location and view/view model binding for you.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm looking for a good jQuery plugin that allows HTML5 video playback, with graceful
I am looking for resources (especially video) to show how to use Xcode's interface
Video podcast ??? Audio only mp3 player I'm looking for somewhere which will extract
I'm looking to add support for reading and writing video files in my application.
I am looking for a video conferencing stack that I can run on an
I'm looking for a content scroller (carousel component) and HTML5 video library that work
I am looking to enable looping of HTML5 video in browsers that do not
I am looking at pattern recognition in images and video and have thought that
I'm looking for a Python framework that will enable me to play video as
I am looking to play and loop only certain parts of a video with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.