title: ListView - GridView - Header Tooltip
body: <p>I want to be able to have the tooltip of a column header the same with the Content. </p>
  
  <p>As in, if my first column of a ListView with GridView contains the Names and the Header: "Name", then the tooltip of the header (that button you can press) should have the tooltip: "Name"</p>
  
  <p>I have the following code for a ListView which has the GridView with some columns :</p>
  
  <pre><code> &lt;ListView x:Name="ListViewResidents" ItemsSource="{Binding Path=Residents.View}"&gt;
              &lt;ListView.View&gt;
                  &lt;GridView&gt;
                  &lt;GridViewColumn DisplayMemberBinding="{Binding Path=Name}" &gt;
                          &lt;GridViewColumnHeader x:Name="GridViewHeaderName"  Content="Name" Command="{Binding SortCommand}" CommandParameter="{Binding ElementName=GridViewHeaderName}"  ToolTip="{Binding ElementName=GridViewHeaderName, Path=Content}"/&gt;
                  &lt;/GridViewColumn&gt;
                  &lt;GridViewColumn  DisplayMemberBinding="{Binding Path=FirstName}"  &gt;
                          &lt;GridViewColumnHeader  x:Name="GridViewHeaderFirstName" Content="Firstname" Command="{Binding SortCommand}" Tag="FirstName" CommandParameter="{Binding ElementName=GridViewHeaderFirstName}"  ToolTip="{Binding ElementName=GridViewHeaderName, Path=Content}"/&gt;
                  &lt;/GridViewColumn&gt;
                    &lt;GridViewColumn  DisplayMemberBinding="{Binding Path=BirthDate, StringFormat=d}"  &gt;
                          &lt;GridViewColumnHeader x:Name="GridViewHeaderBirthDate"  Content="Birth Date" Command="{Binding SortCommand}" CommandParameter="{Binding ElementName=GridViewHeaderBirthDate}" ToolTip="Some Text"  /&gt;
                  &lt;/GridViewColumn&gt;
  </code></pre>
  
  <p>The binding I created for the first column's header tooltip does not work, whereas the tooltip for the BirthDate column works. I know I can just set the tooltip to Name or Birth Date but I'm trying to find a way not to do that.</p>
  
  <p>Any Ideas? 
  Thank you!!!
  Cosmin   </p>
  
  <p>--- EDIT --- I tried mark it as answered but I won't let me: my reputation is to low:
  I found the solution. Eventually. I don't know why it took me so long to figure it out. </p>
  
  <p>I had to change the binding to </p>
  
  <blockquote>
    <p>RelativeSource=Self</p>
  </blockquote>
  
  <p>. So, it looks like this: </p>
  
  <pre><code>&lt;GridViewColumn DisplayMemberBinding="{Binding Path=Name}" &gt;
                          &lt;GridViewColumnHeader ToolTip="{Binding RelativeSource={RelativeSource Self} , Path=Content}" Content="Name" Command="{Binding SortCommand}" CommandParameter="{Binding ElementName=GridViewHeaderName}"  /&gt;
                  &lt;/GridViewColumn&gt;
  </code></pre>
  
  <p>It works great now! :)        </p>