var inviteWindow = new InviteWindow(emailAddress);
var mainWindow = Application.Current.MainWindow as MainWindow;
await mainWindow.ShowChildWindowAsync(inviteWindow);
With the above code I get the window appearing centered on the page. It does not cover the app with a translucent surface and mouse events are working fine so I can continue to interact with the application.
View:
Calling code:
With the above code I get the window appearing centered on the page. It does not cover the app with a translucent surface and mouse events are working fine so I can continue to interact with the application.