You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using the latest code from master, setting a window WindowStartupLocation property has no effect when using ShowDialog(..). If I use Show() it works properly
I've tried both WindowStartupLocation.CenterScreen and WindowStartupLocation.CenterOwner
Example
var window = new Window();
window.Height = 100;
window.Width = 100;
window.Content = new TextBlock { Foreground = Brushes.White, Text = "Test" };
window.WindowStartupLocation = WindowStartupLocation.CenterScreen;
window.ShowDialog(Application.Current.MainWindow);
Expected behaviour
Window should be displayed in the desired location
The text was updated successfully, but these errors were encountered:
Using the latest code from master, setting a window
WindowStartupLocation
property has no effect when usingShowDialog(..)
. If I useShow()
it works properlyI've tried both
WindowStartupLocation.CenterScreen
andWindowStartupLocation.CenterOwner
Example
Expected behaviour
Window should be displayed in the desired location
The text was updated successfully, but these errors were encountered: