title: Custom WPF tooltip
body: <p>I want to create a WPF tooltip containing a label for the header of the tooltip and then a textblock containing more detailed text. I've created the following style in a resource dictionary:</p>
  
  <pre><code>&lt;Style x:Key="AppToolTip"
     TargetType="ToolTip"&gt;
  &lt;Setter Property="OverridesDefaultStyle" Value="true" /&gt;    
  &lt;Setter Property="Template"&gt;
          &lt;Setter.Value&gt;
  
              &lt;ControlTemplate TargetType="ToolTip"&gt;
                  &lt;StackPanel&gt;
                      &lt;Label Content="{TemplateBinding Content}" FontWeight="Bold" Background="Blue" Foreground="White"&gt;
  
                      &lt;/Label&gt;
                      &lt;TextBlock Padding="10" TextWrapping="WrapWithOverflow" Width="200"&gt;
  
                      &lt;/TextBlock&gt;
                  &lt;/StackPanel&gt;
              &lt;/ControlTemplate&gt;
          &lt;/Setter.Value&gt;&lt;/Setter&gt;
  &lt;/Style&gt;
  </code></pre>
  
  <p>And can successfully apply this style to a button like so and have the tooltip header appear:</p>
  
  <pre><code>&lt;Button.ToolTip&gt;
  &lt;ToolTip Style="{DynamicResource PalletToolTip}"&gt;
                      &lt;Binding Source="{x:Static ResStrings.New}"/&gt;
                  &lt;/ToolTip&gt;
  &lt;/Button.ToolTip&gt;
  </code></pre>
  
  <p>What i'm stuck on is how can i set the content of the extra descriptive text from the usage above ? I'm already data binding to the Content property when showing the tooltip header.
     Anyone who's read Adam Nathan's WPF Unleashed book will recognise that i'm using his example tooltip XAML but in his case, he's used hard coded strings for the content of the label and textblock. I want to create something that's more reusable and hence want to use data binding to achieve the same effect.  </p>