Centering a WPF Window in an Outlook 2013 Add-in

I recently came upon the need to show a WPF window in an Outlook add-in, preferably centered on the Outlook window (WindowStartupLocation = CenterInParent).  Easy enough, but without setting Window.Owner, it will appear in an uncontrolled location when calling ShowDialog(). Setting Window.Owner is where things get a little tricky. Searching online produced a few variations … Continue reading Centering a WPF Window in an Outlook 2013 Add-in