Ok so I have started a new project from the template and this is my XAML code#
I am getting the following error and cannot work out why ?
WMC0035 Duplication assignment to the 'Content' property of the 'Window'
WMC9997 There are multiple root elements. Line 21, position<Window
    x:Class="Megasync_EAB.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        Title="ListViewBasicSample">
    <Grid>
        <ListView
        x:Name="BaseExample"
        ItemTemplate="{StaticResource ContactListViewTemplate}"
        BorderThickness="1"
        BorderBrush="{ThemeResource SystemControlForegroundBaseMediumLowBrush}"
        Width="350"
        Height="400"
        HorizontalAlignment="Left"/>
    </Grid>
</Window>
<DataTemplate x:Key="ContactListViewTemplate" x:DataType="local:MegaData">
    <TextBlock Text="{x:Bind Name}" x:Phase="1" Margin="0,5,0,5"/>
</DataTemplate>
