OmegaLol21
❔ How to handle navigation in WinUI between pages?
I am using WinUI 3 and Windows App SDK 1.2 for reference. I have this setup right now where I have a main window, which just has a frame in it. The frame hosts a page which is the RootView, and that RootView hosts a NavigationView in it and again has another frame for navigation. How would I handle the navigation between pages inside the frame? Like for example, let's say I have the home page currently shown, and I want to go to the settings page from the home page, not from the NavigationView, how would I handle that (preferably with MVVM in mind)
2 replies
Host custom control with handle in WPF or WinUI?
Hi, I am just wondering if it is possible to have a control that is hosted inside of a WPF or WinUI application, to have a handle, like WinForms? In WPF, I know it is possible to use the
WindowsFormsHost
control but it requries adding the WinForms dll and I am just wondering if there is another way to do it without referencing the framework libraries? And also if it would be possible in WinUI too.2 replies