title: Name header for context menu
body: <p>The title seems easier than first thought, but I have a context menu that is bound to a list of items. I want to be able to display a title for the context menu to access the list. Currently it just shows up as blank and then allows me to view the list, however I need it to display a title "Add Existing Properties". Also if someone can help me with my image problem that would be much appreciated :). Instead of the first one having the image name I want that to display the name "Add Existing Properties"</p>
  
  <pre><code>&lt;DataTemplate x:Key="AddNodeTemplate"&gt;
          &lt;Border BorderThickness="1" Background="#F7F7F7"&gt;
              &lt;Border.BorderBrush&gt;
                  &lt;DrawingBrush Viewport="8,8,8,8" ViewportUnits="Absolute" TileMode="Tile"&gt;
                      &lt;DrawingBrush.Drawing&gt;
                          &lt;DrawingGroup&gt;
                              &lt;GeometryDrawing Brush="#F7F7F7"&gt;
                                  &lt;GeometryDrawing.Geometry&gt;
                                      &lt;GeometryGroup&gt;
                                          &lt;RectangleGeometry Rect="0,0,50,50"/&gt;
                                          &lt;RectangleGeometry Rect="50,50,50,50"/&gt;
                                      &lt;/GeometryGroup&gt;
                                  &lt;/GeometryDrawing.Geometry&gt;
                              &lt;/GeometryDrawing&gt;
                          &lt;/DrawingGroup&gt;
                      &lt;/DrawingBrush.Drawing&gt;
                  &lt;/DrawingBrush&gt;
              &lt;/Border.BorderBrush&gt;
              &lt;StackPanel&gt;
                  &lt;Button x:Name="ButtonAdd" Click="ButtonAdd_Click" Height="30" Width="130"&gt;
                      &lt;Button.Style&gt;
                          &lt;Style TargetType="Button"&gt;
                              &lt;Setter Property="Template"&gt;
                                  &lt;Setter.Value&gt;
                                      &lt;ControlTemplate TargetType="Button"&gt;
                                          &lt;Grid Background="#F7F7F7"&gt;
                                              &lt;Grid.ColumnDefinitions&gt;
                                                  &lt;ColumnDefinition Width="25"/&gt;
                                                  &lt;ColumnDefinition/&gt;
                                              &lt;/Grid.ColumnDefinitions&gt;
                                              &lt;Image Source="Images/icon_plus.bmp" HorizontalAlignment="Left" Margin="5,0,0,0"/&gt;
                                              &lt;TextBlock Text="Add Property" HorizontalAlignment="Center" Grid.Column="1" VerticalAlignment="Center" Foreground="LightGray" FontStyle="Italic" FontSize="12"/&gt;
                                          &lt;/Grid&gt;
                                      &lt;/ControlTemplate&gt;
                                  &lt;/Setter.Value&gt;
                              &lt;/Setter&gt;
                              &lt;Setter Property="Background" Value="#F7F7F7"/&gt;
                          &lt;/Style&gt;
                      &lt;/Button.Style&gt;
                      &lt;Button.ContextMenu&gt;
                          &lt;ContextMenu&gt;
                              &lt;MenuItem Header="Add Exisiting Properties" ItemsSource="{Binding Path=AvailableProperties}"&gt;
                                      &lt;MenuItem.Resources&gt;
                                          &lt;Style TargetType="MenuItem"&gt;
                                              &lt;Setter Property="HeaderTemplate"&gt;
                                                  &lt;Setter.Value&gt;
                                                      &lt;DataTemplate&gt;
                                                          &lt;StackPanel Orientation="Horizontal"&gt;                                                                
                                                              &lt;ContentPresenter Content="{Binding Name}" /&gt;
                                                          &lt;/StackPanel&gt;
                                                      &lt;/DataTemplate&gt;
                                                  &lt;/Setter.Value&gt;
                                              &lt;/Setter&gt;
                                          &lt;Setter Property="Icon"&gt;
                                              &lt;Setter.Value&gt;
                                                  &lt;DataTemplate&gt;
                                                      &lt;StackPanel&gt;
                                                          &lt;Image Width="12" Height="12" Source="{Binding Icon, Converter={StaticResource ImageToSourceConverter}}" Margin="3" VerticalAlignment="Center"/&gt;
                                                      &lt;/StackPanel&gt;
                                                  &lt;/DataTemplate&gt;
                                              &lt;/Setter.Value&gt;
                                          &lt;/Setter&gt;
                                      &lt;/Style&gt;
                                      &lt;/MenuItem.Resources&gt;
                              &lt;/MenuItem&gt;
                              &lt;MenuItem Header="Upscale well logs"/&gt;
                              &lt;MenuItem Header="Upscale well_top attributes"/&gt;
                              &lt;MenuItem Header="Upscale point attributes"/&gt;
                              &lt;MenuItem Header="Calculate"/&gt;
                          &lt;/ContextMenu&gt;
                      &lt;/Button.ContextMenu&gt;
                  &lt;/Button&gt;
          &lt;/StackPanel&gt;
          &lt;/Border&gt;
      &lt;/DataTemplate&gt;
  </code></pre>
  
  <p><strong>What is displayed</strong></p>
  
  <p><a href="https://i.stack.imgur.com/PeUz4.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/PeUz4.png" alt="enter image description here"></a></p>