WPF Window Location
I'm trying to get a Window to start in the bottom right corner of the primary display (as it will definitely be used on multi-monitor systems). So far, I've got it working, but the window first flashes somewhere in the middle of the screen for a split second, then moves to the correct location. Here's what I've got: public MyWindow() { InitializeComponent(); Dispatcher.BeginInvoke(DispatcherPriority.Normal, new Action(() => { var workingArea = System.Windows.Forms.Screen.PrimaryScreen.WorkingArea; var transform = PresentationSource.FromVisual(this).CompositionTarget.TransformFromDevice; var