title: Hyperlink in Silverlight AccordionItem HeaderTemplate
body: <p>I have created a HeaderTemplate for my accordions where I want to display a text block on one side of the header and a hyperlink on the right side. The display is working correctly, but the click event is not called when the user clicks, I'm guessing b/c the header itself is trapping the click for expand/contract.</p>
  
  <pre><code>    &lt;layoutToolkit:Accordion&gt;
          &lt;layoutToolkit:AccordionItem IsSelected="True"&gt;
              &lt;layoutToolkit:AccordionItem.HeaderTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;StackPanel Orientation="Horizontal" Height="20"&gt;
                          &lt;TextBlock Margin="0,0,700,0"&gt;Cancel Postcards&lt;/TextBlock&gt;                                  
                            &lt;HyperlinkButton Content="Next Call" Foreground="Blue" Click="NextCancel_Click" /&gt;
                        &lt;/StackPanel&gt;
                    &lt;/DataTemplate&gt;
              &lt;/layoutToolkit:AccordionItem.HeaderTemplate&gt;
  ..... more code ....
  </code></pre>
  
  <p>Is there a way to get the hyperlink to respond to events without practically creating a new control?</p>
  
  <p>Update: It looks like the header sets all child controls to disabled when expanded which is why the link doesnt work. It will work when you collapse that accordionitem. So, the question now is, how do i prevent the hyperlink from being disabled?</p>