You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello there,
I apologize as I am just learning. I created a new application and compared it to the normal basic demo, but I was trying to put my AppView into a folder called "View" and I believe somewhere I am supposed to specify that the view is now located in the View folder but I can't for the life of me figure out where.
In MetroWindow CreateCustomWindow it has
public override MetroWindow CreateCustomWindow(object view, bool windowIsView)
{
if (windowIsView)
{
return view as MainWindowContainer;
}
return new MainWindowContainer
{
Content = view
};
}
but I can't seem to figure out quite how to do it. I tried to do:
Content = "View/" + view
but then in the application that just ends up displaying text of "View/System.Windows.Controls.TextBlock". Might anyone have any insight? I know it is probably something super simple, but I just can't figure out where to add "View/".
Thanks,
-MH
The text was updated successfully, but these errors were encountered:
I got the first part figured out, I didn't realize that the folders had to specifically be named "View(s)" and "ViewModel(s)", plural. That is fine. I still am wondering though if there is any documentation on any specifics of this particular package, as opposed to just Mahapps or Caliburn.Micro?
Hi @MostHated, thank you for your interest to lib. This is an integration package, for further details please consider Mahapps or Caliburn.Micro documentation.
----- Got this part figured out!
Hello there,
I apologize as I am just learning. I created a new application and compared it to the normal basic demo, but I was trying to put my AppView into a folder called "View" and I believe somewhere I am supposed to specify that the view is now located in the View folder but I can't for the life of me figure out where.
In MetroWindow CreateCustomWindow it has
but I can't seem to figure out quite how to do it. I tried to do:
but then in the application that just ends up displaying text of "View/System.Windows.Controls.TextBlock". Might anyone have any insight? I know it is probably something super simple, but I just can't figure out where to add "View/".
Thanks,
-MH
The text was updated successfully, but these errors were encountered: