I have a WPF-Window which I don't close. Instead I do Hide() and Show() it. Now, when I doubleclick in my MainWindow in a Grid on a Record, which will Trigger to Show() the Window, the Window will always be shown behind the MainWindow. I have tried the fallowing, but with no success:
view.Show();
view.Activate();
view.Topmost = true;
view.Topmost = false;
view.Focus();
Is there another way which I can use to bring the window absolut to the front? I cannot set the MainWindow as the Owner.
topmost value
from true to flase Immediately? – Rev