Clyde Eisenbeis

Clyde Eisenbeis

  • 1.7k
  • 73
  • 13.3k

Code for placing a dialog box on top of a MainWindow image location?

Apr 18 2024 12:23 AM

With the mouse, I move a MainWindow xaml image to a location on the screen.  Then I click a button to open a dialog box. 

The dialog box WindowStartupLocation="CenterScreen", probably needs to changed.  What code is needed so the dialog box is placed on top of the MainWindow image location?


Answers (1)