Code: Select all
<Page x:Class="LayoutTestCSHtml5.MainPage"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="using:LayoutTestCSHtml5"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d">
<Grid>
<Grid Background="Red"
Width="100"
Height="100">
<Grid Background="Green"
Width="200"
Height="200"></Grid>
</Grid>
</Grid>
</Page>
The same code in WPF, I can see a green rectangle which size is 100x100. But in CSHtml5, it shows 200x200.
Version is beta 6.
And admin can try the test which I uploaded.