How do I display a wpf window in my application when the application resides in a dll, not an exe? This project will be compiled to a dll and loaded into another application as an add-in.
In WinForms, I would just have the following code:
dim frmUserData as frmDataEntry = new frmDataEntry
frmUserData.ShowDialog()
How do I accomplish the same task in WPF?
With WPF you can just create the new window and show it. It would look very similar to Winforms.
If the UI you’re trying to show is a Page, and not a Window, then you’ll need to create a NavigationWindow and use Navigate(), passing in the Page you want to use.