title: How do I bind a ListView to an ObservableCollection in C++/CLI?
body: <p>I've got a small app which will allow the user to select a number of files and then perform some processing. I was thinking I'd collect the files in an <code>ObservableCollection</code> of <code>String^</code> (and probably expand this to a full class at a later date).</p>
  
  <p>The problem is I can't work out how to bind the <code>ListView</code> to the <code>ObservableCollection</code>. I've added a property to the main form:</p>
  
  <pre><code>protected:
      ObservableCollection&lt;String^&gt;^ m_sourceFiles;
  
  public:
      property ObservableCollection&lt;String^&gt;^ SourceFileList
      {
          ObservableCollection&lt;String^&gt;^ get() {return m_sourceFiles;}
      }
  </code></pre>
  
  <p>All the examples I've seen for C# / VB implementations switch to using XAML at this point, but I can't see how to do that in C++? Where do I go from here?</p>