Add a Border to the Grid
<Border BorderBrush="Yellow" BorderThickness="1" Width="1366" Height="768">
<Grid Width="1366" Height="768">
</Grid>
</Border>
the Width and Height of Grid and Border must be the same