This is a migrated thread and some comments may be shown as answers.

Possible RadPane Header Bug?

1 Answer 87 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Lee
Top achievements
Rank 1
Lee asked on 17 May 2010, 04:30 PM
Whenever I define the header of a RadPane as follows, I fail to get the header to display properly.  Instead the header displays the name of the control contained within the header definition.

<telerikDocking:RadPane Content="Pane Left 1"
    <telerikDocking:RadPane.Header> 
        <StackPanel Orientation="Horizontal"
            <TextBlock Text="Pane Left 1" /> 
        </StackPanel> 
    </telerikDocking:RadPane.Header> 
</telerikDocking:RadPane> 
 

I'm using this style of header definition so that I can display an icon and the text field for the header.

Am I doing something wrong, or is there a problem with the control?

1 Answer, 1 is accepted

Sort by
0
Miroslav Nedyalkov
Telerik team
answered on 20 May 2010, 12:10 PM
Hi Lee,

What you are observing is not the Header, but the Title of the control. The header is the header of the tab item. The title is of type string and it is bound to the header. This is the reason why you see the name of the panel.

In order to set icon for the area you want you need to change the TitleTemplate property of the Pane control. The following article demonstrates the approach: http://www.telerik.com/help/silverlight/raddocking-how-to-add-buttons-to-the-pane-headers.html.

All the best,
Miroslav Nedyalkov
the Telerik team

Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items.
Tags
Docking
Asked by
Lee
Top achievements
Rank 1
Answers by
Miroslav Nedyalkov
Telerik team
Share this question
or