I want to display an image next to the header. To achieve this I've tried to add a StackPanel to the RadPane.Header:
<t_dock:RadPane> |
<t_dock:RadPane.Header> |
<StackPanel Orientation="Horizontal"> |
<Image Width="16" Source="Images/sample.png" /> |
<Label>Sample</Label> |
</StackPanel> |
</t_dock:RadPane.Header> |
This works well. However, the pane now displays "System.Windows.Controls.StackPanel" in the top area. How can I change this to display the label "Sample" instead?