How to center Popup in Metro style app in c#
Is there any way to show a Popup in Windows 8 Metro centered? Setting VerticalAlignment and HorizontalAlignment to "Center", and VerticsalOffset and HorizontalOffset to 0 causes howing popup with left-up corner in the center of the screen. Is there any way to do it nicely? To make this problem harder, this popup has different size in snapped view, where is also should be centered. Any thoughts? Hope this helps, how about placing the popup in a canvas then manipulate the canvas... XAML <Canvas x:Name="myCanvas" HorizontalAlignment="Center" Height="127" VerticalAlignment="Center" Width="191"/>