In browsers that I tried, Edge and Chrome, the default app is located in top-left corner, even though the default XAML code states that the canvas has to be aligned horizontally to center.
Code: Select all
<Canvas Height="415" Width="320" Background="#FF161616" HorizontalAlignment="Center">
So, I feel this is a bug: the "HorizontalAlignment" property is not being evaluated correctly.
Strangely, if I add this VerticalAlignment="Top" to canvas element, the canvas is now located perfectly at top center of the page, as expected.
Something about vertical alignment is forcing correct evaluation of horizontal.
Please check and comment.
Regards,
Cnayan