title: Header element within a ListView in UWP
body: <p>I'd like to have a header element in my <code>ListView</code>, but I need the possibility to decide which item is simple and which one is header when I bind data to the ListView. This header should not be clickable and have a different color at least. In Android we do it in a custom adapter.</p>
  
  <p><a href="https://i.stack.imgur.com/kqrGY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/kqrGY.png" alt="enter image description here"></a></p>
  
  <p>At the moment I get this logic of data binding to the ListView:</p>
  
  <pre><code>  &lt;ListView
         x:Name="drawerListOptions"
         SelectionChanged="onSelectDrawerItem"
         SelectionMode="Single"&gt;
  
           &lt;ListView.ItemTemplate&gt;
                &lt;DataTemplate&gt;
  
                    &lt;!--for simplicity I put only one view in as a list item --&gt;
  
                       &lt;TextBlock 
                         Text="{Binding titleItemMenu}" /&gt;
  
                 &lt;/DataTemplate&gt;
          &lt;/ListView.ItemTemplate&gt;
    &lt;/ListView&gt;
  </code></pre>
  
  <p>and C# code:</p>
  
  <pre><code>drawerListOptions.ItemsSource = myListOfData;
  </code></pre>
  
  <p>So I need to check in my <code>myListOfData</code> if item is simple or header. Is there a way to do it?</p>