Wednesday, November 23, 2016

Center the window in WPF

Center the window in WPF

<Window WindowStartupLocation="CenterScreen"></Window>

Or

<Window WindowStartupLocation="CenterOwner"></Window>

No comments: