title: Display a simple customer list in UWP
body: <p>So Im currently copy/paste some code from here: <a href="https://docs.microsoft.com/en-us/windows/uwp/get-started/display-customers-in-list-learning-track" rel="nofollow noreferrer">https://docs.microsoft.com/en-us/windows/uwp/get-started/display-customers-in-list-learning-track</a></p>
  
  <p>The code looks like this:</p>
  
  <pre><code>xaml:
  
  &lt;ListView ItemsSource="{x:Bind Customers}"
  HorizontalAlignment="Center"
  VerticalAlignment="Center"&gt;
      &lt;ListView.ItemTemplate&gt;
          &lt;DataTemplate x:DataType="local:Customer"&gt;
              &lt;TextBlock Text="{x:Bind Name}"/&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListView.ItemTemplate&gt;
  &lt;/ListView&gt;
  </code></pre>
  
  <p>About <code>x:Bind Customers</code>: it does not seem to autocomplete like it is wrong.</p>
  
  <p>About <code>x:DataType="local:Customer"</code>: I get the error message <code>The name "Customer" does not exist in the namespace "using:helloUWP"</code></p>
  
  <pre><code>cs:
  
  namespace helloUWP
  {
      /// &lt;summary&gt;
      /// An empty page that can be used on its own or navigated to within a Frame.
      /// &lt;/summary&gt;
      /// 
  
      public class Customer
      {
          public string Name { get; set; }
      }
  
      public sealed partial class MainPage : Page
      {
      public ObservableCollection&lt;Customer&gt; Customers { get; }
  = new ObservableCollection&lt;Customer&gt;();
  
      public MainPage()
      {
          this.InitializeComponent();
  
          this.Customers.Add(new Customer() { Name = "Name1" });
      }
  }
  </code></pre>
  
  <p>}</p>
  
  <p>I cannot build it. What am I missing or doing wrong?</p>