title: Binding DTO in WPF - I want to only display the Filename. Currently it's displaying the "DTO"
body: <p>I got my Listbox binding to my BindableCollection but I want to only display the Filename. Currently it's displaying the "DTO"</p>
  
  <pre><code>public class FilesDTO : IDTO
  {
      public int Id { get; set; }
      public string FileName { get; set; }
      public string FileExtension { get; set; }
      public byte[] FileArray { get; set; }
  }
  
  using (var ctx = DB.Get())
      {
           Files = new BindableCollection&lt;FilesDTO&gt;(ctx.Files.Select(x =&gt; new FilesDTO { FileArray = x.  FileArray, FileExtension = x.FileExtension, FileName = x.FileName, Id = x.Id }));
      }
  </code></pre>
  
  <p>Xaml side:</p>
  
  <pre><code>&lt;ListBox x:Name="Attachments" Grid.Row="2" ItemsSource="{Binding Files}"  /&gt;
  </code></pre>
  
  <p>I tried {Binding Files.Filename} doesn't work either. My guess is creating properties to bind to :S</p>