flowerwhe.blogg.se

Caliburn windowmanager showdialog vs. showwindow
Caliburn windowmanager showdialog vs. showwindow








caliburn windowmanager showdialog vs. showwindow caliburn windowmanager showdialog vs. showwindow

LoadinScreenForm.StartPosition = FormStartPosition.CenterScreen So I have modified this a little and my code looks like this.Private void viewLoadingScreenB_Click(object sender, EventArgs e) My first solution was not working because I was opening my login window as dialog inside overridden method OnViewLoaded

  • after I login with succes, login window disappear and main window appear.īasically this bug is strictly related to Caliburn.
  • login window has expander and can dynamically change it's size whether the expander is open or collapsed.
  • no other windows are visible in the mean time.
  • when application is started, login window show up first.
  • I have found some examples on internet how to do it in Caliburn.Micro but none of them was working as I expected. So it is important to know that this bug appears when I had to create a login window in my desktop WPF application which use Caliburn.Micro. Since I had no idea what cause this, it was a little difficult and time consuming to reproduce this bug. Sqlguy post, I can answer that this app was commercial so I couldn't post the same code.

    caliburn windowmanager showdialog vs. showwindow

    Now I can explain what to do in this case. If you have some ideas or comments just let me know :)Īfter few days of trying and testing I have achieved my goal. I am using Visual Studio 2013 Premium with. Sometimes even this popups are cuted off. I was struggling with this issue few days and I am out of ideas.ĭo you know some known issues like this or similar, or maybe can you advice some methods to understand this behavior? When I set expender to be open by default it is working OK. It expand a little but not enough. And to make it look OK I have to move it or deactivate and activate again. But when I click to open my expander it looks like my window is half cuted off. One of this content items is collapsed expander (under some other controls).

    caliburn windowmanager showdialog vs. showwindow

    My window is set to SizeToContent=Height and it contains one UserControl with all content. I have some strange behavior of the window. I am building WPF application which use Caliburn Micro framework (if it is important).










    Caliburn windowmanager showdialog vs. showwindow