title: Listbox Item Template for an empty list
body: <p>I have a list box with an item template defined in XAML like this:</p>
  
  <pre><code>        &lt;ListBox Name="listBoxDisruptions"&gt;
  
              &lt;ListBox.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;StackPanel Orientation="Horizontal" Margin="0,0,0,10"&gt;
                          &lt;TextBlock Text="{Binding text}" Foreground="Black" FontSize="29"&gt;Hello! some item&lt;/TextBlock&gt;
                      &lt;/StackPanel&gt;
                  &lt;/DataTemplate&gt;
              &lt;/ListBox.ItemTemplate&gt;             
  
          &lt;/ListBox&gt;
  </code></pre>
  
  <p>Now what i want is to display a line of text in the center of the listbox in case the ItemSource for this listbox is empty.</p>
  
  <p>Does XAML support some kind of no item template, ? something like this:</p>
  
  <pre><code>    &lt;ListBox Name="listBoxDisruptions"&gt;
  
                  &lt;ListBox.ItemTemplate&gt;
                      &lt;DataTemplate&gt;
                          &lt;StackPanel Orientation="Horizontal" Margin="0,0,0,10"&gt;
                              &lt;TextBlock Text="{Binding text}" Foreground="Black" FontSize="29"&gt;Hello! some item&lt;/TextBlock&gt;
                          &lt;/StackPanel&gt;
                      &lt;/DataTemplate&gt;
                  &lt;/ListBox.ItemTemplate&gt; 
  
  &lt;ListBox.NoItemTemplate&gt;
  &lt;TextBlock Text="No Items to display"/&gt;
  &lt;/ListBox.NoItemTemplate&gt;                   
  
              &lt;/ListBox&gt;
  </code></pre>
  
  <p>So ?</p>