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

Hide PaneHeader from ToolWindow

2 Answers 63 Views
Docking
This is a migrated thread and some comments may be shown as answers.
James
Top achievements
Rank 1
James asked on 21 Dec 2009, 08:57 AM
Hello,

Is it possible to hide the PaneHeader control when a RadPane is created as a ToolWindow?

I don't want to remove the PaneHeader completely, only when it is displayed within a ToolWindow.

I've tried ChildrenOfType<PaneHeader> from the RadPane instance but with no luck. Silverlight Spy tells me the ToolWindow is a child of the RadDock instance, but this could return any number of ToolWindows (I just want a single instance).

Any ideas appreciated,

James.

2 Answers, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 22 Dec 2009, 04:58 PM
Hello James,

Straight to your question.

It is possible to hide the header of the RadPane when it is displayed within a ToolWindow - attached you can find the solution. To achieve that you have to make a custom template, which is applied only when the RadPane is floating.
If you have any further question please feel free to contact us again.

Regards,
Konstantina
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
James
Top achievements
Rank 1
answered on 23 Dec 2009, 08:12 AM
Thanks very much, just what I was looking for.
Regards,
James.
Tags
Docking
Asked by
James
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
James
Top achievements
Rank 1
Share this question
or