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

Hide Header in the RadDocumentPane when a button is clicked

1 Answer 94 Views
Docking
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
YK
Top achievements
Rank 1
YK asked on 20 Mar 2012, 08:48 PM
Hi,
I am using the RadDocumentPane int he RadPaneGroup container. By default I am hiding the Header by using the Visibility property provided Visibility="Collapsed". But my reqirement is to hide the Header by default and provide a button at the top left corner, which by clicking shows the Header. The reason I need to show the Header by using the click is I need to have access for undocking the pane and the reason for not showing the header is to conserve the space on the layout.
So basically here's my question
How can I show and hide the header of the raddocumentpane depending on the button click (would liek to know if there another way of achieving this say by using radpane etc.)
Any pointers would be really appreciated
Thanks
YK

1 Answer, 1 is accepted

Sort by
0
Accepted
Konstantina
Telerik team
answered on 23 Mar 2012, 12:17 PM
Hello,

I have created a simple application in which is illustrated how to bind the IsChecked property of a ToggleButton to the Visibility of the RadDocumentPane with the help of a Converter. You can use the same logic for a button.

Hope this helps.

Greetings,
Konstantina
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Docking
Asked by
YK
Top achievements
Rank 1
Answers by
Konstantina
Telerik team
Share this question
or