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

  • SEARCH
  • Home
  • 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 6708003
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T07:42:25+00:00 2026-05-26T07:42:25+00:00

By screen activation I mean a concept from Caliburn Micro , when you want

  • 0

By “screen activation” I mean a concept from Caliburn Micro, when you want either display something in the region that was not occupied or switch one view with another. In Caliburn Micro, all this is done from ViewModel’s method by instantiating and activating another ViewModel. It seems to me that in MVVM Light, considering its “View First” approach, to achieve the same you need to use a code behind and just switch the content of a view host with some other view.

I was wondering if this can be done without code-behind and if there is a dominating pattern for this task.

  • 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-26T07:42:25+00:00Added an answer on May 26, 2026 at 7:42 am

    In this post I outline the approaches usually taken to display dialogs from a MVVM Light view model.

    MVVM Light does not have the concept of regions, neither does it force you to use one specific paradigm to solve a problem. This leaves you a lot of freedom, however, on the opposite this also means that you have to do more yourself.

    If you need regions and plug-ins maybe using a larger framwork – like Prism, Caliburn, or Ocean (partially) – may be a better choice. If you are bound to MVVM Light and need this functionality you will have to create it yourself – hence the “light” part in the Name 🙂

    Edit

    Your (Sergey’s) comment got me thinking, so I went out and looked around and found something that migt fit your need.

    Mike Hamilton implemented a conductor/screen logic based on MVVM Light. The samples do not use a ViewModelLocator but I can see no reason why this couldn’t changed (haven’t tried it though – time permitting). However, the approach looks promising. Note: It may be applicable to WPF only – samples are WPF only and there is no navigation in it.

    Bedides in source code the package is also available as a NuGet package.

    Even if you want to roll your own implementation, the samples, source code and blog post give you a good starting point.

    If you are targeting WP7 both Laurent Buginion and Jesse Liberty showed how to implement a NavigationService – which also fits into this category.

    As Silverlight and WP7 share quite a lot of commonality the NavigationService approach can be transformed to work with Silverlight as well – actually I done this in a SL application I wrote.

    Jay Kimble provides a template that implements yet another approach for Silverlight.

    As to what is the “dominating” pattern I’d say for Siverlight/WP 7 it is the NavigationService pattern, for WPF – ther really is no “dominating” pattern, however, some contenders (one shown).

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

Sidebar

Related Questions

Screen is amazing, of course, but I don't want to have to think about
I want a splash screen to show while the application is loading. I have
I have a touch screen kiosk that displays a webpage and a pdf document.
The screen shot below is of a simplified version of the application from the
In my app screen, i want to show Heading as horizontally center. I tried
I want to record screen casts and video lectures, upto one hour each to
I am doing some screen scraping with a library that takes XPath expressions and
I want to implement a button that counts down when pressed. The idea is
i have a scrollView that fits the whole screen. In that View i show
I have a .net windows application that needs to run in full screen. When

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.