title: Binding to an Array in WPF
body: <p>I am working on a WPF application. For some reason, the values in my view model are not showing </p>
  
  <p><strong>MyViewModel.cs</strong></p>
  
  <pre><code>public class MyViewModel : ViewModel
  {
    private ObservableCollection&lt;Item&gt; items = Item.GetAll();
    public ObservableCollection&lt;Item&gt; Items
    {
      get { return items; }
      set { items = value; }
    }
  }
  
  public class Item
  {
    public int ID { get; set; }
  
    public List&lt;int&gt; Tally = new List&lt;int&gt;();
  
    public int Total { get; set; }
  
    public Item(int id)
    {
      this.ID = id;
      for (int i = 0; i &lt; 7; i++)
        this.Tally.Add(0);
    }
  
    public static ObservableCollection&lt;Item&gt; GetAll()
    {
      ObservableCollection&lt;Item&gt; items = new ObservableCollection&lt;Item&gt;();
      for (int i = 0; i &lt;= 10; i++)
      {
        items.Add(new Item(i));
      }
      return items;
    }
  }
  </code></pre>
  
  <p><strong>MyPage.xaml</strong></p>
  
  <pre><code>&lt;telerik:RadGridView x:Name="myGridView" Grid.Row="1" AutoGenerateColumns="False" 
    ItemsSource="{Binding Path=Items}"&gt;
    &lt;telerik:RadGridView.Columns&gt;
      &lt;telerik:GridViewDataColumn Header="ID" DataMemberBinding="{Binding Path=ID}" IsReadOnly="True" /&gt;
      &lt;telerik:GridViewDataColumn Header="Monday" DataMemberBinding="{Binding Path=Tally[0], Mode=OneWay}" IsReadOnly="True" Width="1*" /&gt;
      &lt;telerik:GridViewDataColumn Header="Tuesday" DataMemberBinding="{Binding Path=Tally[1], Mode=OneWay}" IsReadOnly="True" Width="1*" /&gt;
      &lt;telerik:GridViewDataColumn Header="Wednesday" DataMemberBinding="{Binding Path=Tally[2], Mode=OneWay}" IsReadOnly="True" Width="1*" /&gt;
      &lt;telerik:GridViewDataColumn Header="Thursday" DataMemberBinding="{Binding Path=Tally[3], Mode=OneWay}" IsReadOnly="True" Width="1*" /&gt;
      &lt;telerik:GridViewDataColumn Header="Friday" DataMemberBinding="{Binding Path=Tally[4], Mode=OneWay}" IsReadOnly="True" Width="1*" /&gt;
      &lt;telerik:GridViewDataColumn Header="Total" DataMemberBinding="{Binding Path=Total, Mode=OneWay}" /&gt;
    &lt;/telerik:RadGridView.Columns&gt;
  &lt;/telerik:RadGridView&gt;
  </code></pre>
  
  <p>An entry for each Item appears in the grid as expected. However, only the first and last columns have values. The values in the Monday-Friday columns (the columns that reference the Tally List) are not appearing. I'm not sure what I'm doing wrong. Can somebody please tell me?</p>
  
  <p>Thank you!</p>