title: Binding a ListView to an ObservableCollection of ArrayList items without named properties
body: <p>Firstly:</p>
  
  <pre><code>        &lt;ListView Height="259" HorizontalAlignment="Left" Margin="7,6,0,0" Name="dataListView" VerticalAlignment="Top" Width="899"&gt;
              &lt;ListView.View&gt;
                  &lt;GridView&gt;
                      &lt;GridViewColumn Width="240" Header="Test" /&gt;
                      &lt;GridViewColumn Width="50" Header="Result" /&gt;
                      &lt;GridViewColumn Header="Column 3" /&gt;
                  &lt;/GridView&gt;
              &lt;/ListView.View&gt;
          &lt;/ListView&gt;
  </code></pre>
  
  <p>is the definition in my XAML file.</p>
  
  <p>Then when a test starts, I run:</p>
  
  <pre><code>dataListView.ItemsSource = tr.TestResultCollection;
  </code></pre>
  
  <p>In TestRunner.cs, I have created the Observable Collection of ArrayLists as such:</p>
  
  <pre><code>ObservableCollection&lt;ArrayList&gt; _testResultCollection = new ObservableCollection&lt;ArrayList&gt;();
  </code></pre>
  
  <p>and publicly refer to them as such:</p>
  
  <pre><code>        public ObservableCollection&lt;ArrayList&gt; TestResultCollection
          { get { return _testResultCollection; } }
  </code></pre>
  
  <p>Finally when I add to the collection, I use :</p>
  
  <pre><code>_testResultCollection.Add(SummaryVerificationTestCase1(dbs, dbd));
  </code></pre>
  
  <p>which adds an ArrayList to the collection.  (Yes, a collection of ArrayLists, I know...)</p>
  
  <p>However, what gets displayed in each Column is (Collection), (Collection, (Collection).</p>
  
  <p>I see why.  However, I'm not entirely certain what the neatest way around is.  Normally in each GridViewColumn you give a binding like: </p>
  
  <blockquote>
    <p>DisplayMemberBinding="{Binding TestResult}"</p>
  </blockquote>
  
  <p>But the ArrayList doesn't have named components, just indices (0-2).</p>
  
  <p>Is there a way to bind each column to the individual indices? Or have I missed something simple already?</p>