title: Showing a window centered
body: <p>I need to show a <code>Window</code> centered in the second column of my <code>Grid</code>. Since it is a <code>Window</code>, I can't add it directly to the Grid through XAML. Can I programmatically find out the center of my Grid's second column, so that I move my Window there before showing it?</p>
  
  <p>My second window is just a fancy little message box. I was earlier trying to convert it to a <code>UserControl</code> instead of a <code>Window</code>, so that I could put it directly inside the Grid's second column, but then I can't do <code>ShowDialog()</code> on it. I must wait for the user to click OK before moving ahead.</p>