![]() ![]() 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). My window is set to SizeToContent=Height and it contains one UserControl with all content. ![]() I have some strange behavior of the window. In the NewProjectView i have the following: xmlns:cal=""Ĭal:Bind.Model=" am building WPF application which use Caliburn Micro framework (if it is important). In an attempt to understand the issue i think it may have something to with using the view first approach. Since i seem to be getting no answers on this, where as previous questions do, I'll assume i have information missing. I'm at a complete loss as to how i can close this dialog, so any help or suggestions would be greatly appreciated. However the issue is that Tr圜lose() always fails to close the dialog, and as i don't have the source of caliburn.micro i can't debug inside Tr圜lose() however doing (GetView() As Window).Close() also fails because GetView() always returns null. Which is called in the same was as previously using an message.attach on the OK button of the dialog. Project newP = new Project(0, viewModel.ProjectNo, viewModel.ProjectName, 0, 0) Īnd the viewmodel NewProjectViewModel has the following: public void Create() If the result is true, we have a new project, otherwise they cancelled the window. NewProjectViewModel viewModel = new NewProjectViewModel(_projectManager) I have a view and viewmodel ContentView/Model which has the following code in them:ĬontentViewModel: public void NewProject() I have been stuck on this for a number of days now, and research has turned up zero, I tried posting a question previously about this issue but it received no answers so i assume I didn't word it correctly. Tr圜lose requires a parent IConductor or a view with a Close method or IsOpen property New Information, just managed to get a logger working (I honestly had no idea cm had one!) and i'm given this message when attempting to use Tr圜lose(). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |