Posted on: 11/12/2013 1:18:26 PM | Views : 627

I need to show a Window centered in the second column of my Grid. Since it is a Window, 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?
My second window is just a fancy little message box. I was earlier trying to convert it to a UserControlinstead of a Window, so that I could put it directly inside the Grid's second column, but then I can't doShowDialog() on it. I must wait for the user to click OK before moving ahead.

Go to the complete details ...