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 6758579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T13:48:40+00:00 2026-05-26T13:48:40+00:00

I am using the Caliburn Micro Window Manager to display a dialog. I would

  • 0

I am using the Caliburn Micro Window Manager to display a dialog. I would like to remove the maximize and minimize buttons from the dialog.

If I look at the Windows Manager source (under WPF) I can see a third parameter that lets me pass settings to the dialog. My problem is that I can’t pass a third parameter – I get an error. This can be replicated in the hello window manager example project.

Any ideas?

Somehow I seem to be referencing an IWindowManager that only allows 2 parameters to ShowDialog.

This is what I want to do but causes an error:

var loginViewModel = new LoginViewModel();

WindowManager windowManager = new WindowManager();

Dictionary<string, object> settings = new Dictionary<string, object>();

// add settings here to pass to dialog

windowManager.ShowDialog(loginViewModel, null, settings);

This is IWindowManager interface that shows 3 parameters:

public interface IWindowManager
{
    /// <summary>
    /// Shows a modal dialog for the specified model.
    /// </summary>
    /// <param name="rootModel">The root model.</param>
    /// <param name="context">The context.</param>
    /// <param name="settings">The optional dialog settings.</param>
    /// <returns>The dialog result.</returns>
    bool? ShowDialog(object rootModel, object context = null, IDictionary<string, object> settings = null);

    /// <summary>
    /// Shows a non-modal window for the specified model.
    /// </summary>
    /// <param name="rootModel">The root model.</param>
    /// <param name="context">The context.</param>
    /// <param name="settings">The optional window settings.</param>
    void ShowWindow(object rootModel, object context = null, IDictionary<string, object> settings = null);

    /// <summary>
    /// Shows a popup at the current mouse position.
    /// </summary>
    /// <param name="rootModel">The root model.</param>
    /// <param name="context">The view context.</param>
    /// <param name="settings">The optional popup settings.</param>
    void ShowPopup(object rootModel, object context = null, IDictionary<string, object> settings = null);
}
  • 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-26T13:48:41+00:00Added an answer on May 26, 2026 at 1:48 pm

    I don’t recall any recent version of Caliburn.Micro that used IWindowManager.ShowDialog with three parameters. Are you maybe referring to this link from the Codeplex site? It appears to be a user request that Rob rejected.

    As you probably know, ShowDialog() will cause the IWindowManager to instantiate a view it finds (by naming convention) and attach it to whatever viewmodel you provide it (e.g. LoginViewModel is attached to a “found” view called LoginView).

    I’m guessing that LoginView is a UserControl for you, but you can have this view be a regular Window and then set the WindowStyle property (in XAML) to use one of the options that does not have the maximize button. This MSDN article shows the various enumeration options. WindowStyle.ToolWindow is the only one that includes the close button and not the min/max buttons, but because it changes the appearance of the close button, you may prefer WindowStyle.None and just define your own window chrome and buttons.

    <Window x:Class="MyNamespace.LoginView"
            ...
            WindowStyle="ToolWindow">
        ...
    </Window>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using Caliburn Micro v1.3 with WPF. I would like to display a splash
I'm using Caliburn.Micro and I would like to be able to do something like
Using the IWindowManager of Caliburn.Micro , is it possible to create a borderless window
I've been using the EventAggregator from Caliburn.Micro for a few weeks now and really
Using Rails 3.2.0 with haml and sass: I Would like to link an external
I'm learning about using Caliburn.Micro as a MVVM framework for a WPF application. In
I have an .NET 4.0 application using Caliburn.Micro. I want to create a dynamic
I need to validate on exceptions when doing binding. Is this possible using Caliburn.Micro?
I have using Silverlight and Caliburn Micro and am having a problem getting child
I'm using MVVM via Caliburn Micro on WP7. I have a popup that is

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.