title: ListBox inside another ListBox
body: <p>I have a simple class like this:</p>
  
  <pre class="lang-cs prettyprint-override"><code>public class myClass
  {
      public List&lt;string&gt; innerList;
      public string innerString{get;set;}
  }
  </code></pre>
  
  <p>And then I have a List of objects of this class: List&lt;myClass&gt;. For example content of this list is</p>
  
  <pre class="lang-cs prettyprint-override"><code>myList = new List&lt;myClass&gt;{
      new myClass{
          innerList = new List&lt;string&gt;{
              "1", "2", "3", "4"
          },
          innerString = "First String"
      },
      new myClass{
          innerList = new List&lt;string&gt;{
              "a", "b", "c", "d"
          },
          innerString = "Second String"
      }
  };
  </code></pre>
  
  <p>I want to display this array context in the following form:</p>
  
  <pre><code>First String
    1  2  3
  
  Second String
    a  b  c
  </code></pre>
  
  <p>Note: actually I cannot concatenate 1+2+3 and a+b+c because what I have is not string array but an BitmapImage array (thats why I think that I need another listbox for this)</p>
  
  <p>So, I think I should make a listbox inside another listbox. But possibly there is better way to do this exists.</p>
  
  <p>Here my not_working XAML code:</p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;ListBox x:Name="myListBox" ItemsSource="{Binding ''}"&gt;
      &lt;ListBox.ItemTemplate&gt;
          &lt;DataTemplate&gt;
              &lt;StackPanel Orientation="Horizontal"&gt;
                  &lt;TextBlock Text="{Binding innerString}"/&gt;
                  &lt;ListBox x:Name="innerListBox" ItemsSource="{Binding innerList}"&gt;
                      &lt;ListBox.ItemTemplate&gt;
                          &lt;DataTemplate&gt;
                              &lt;TextBox Text="{Binding ''}"/&gt;
                          &lt;/DataTemplate&gt;
                      &lt;/ListBox.ItemTemplate&gt;
                  &lt;/ListBox&gt;
              &lt;/StackPanel&gt;
          &lt;/DataTemplate&gt;
      &lt;/ListBox.ItemTemplate&gt;
  &lt;/ListBox&gt;
  </code></pre>
  
  <p>It displays only "First String" and "Second String", but not "1 2 3" and "a b c".</p>
  
  <p>What should I do to display an Array content inside another Array?</p>