Hide Header in the RadDocumentPane when a button is clicked

2 posts, 1 answers
  1. YK
    YK avatar
    6 posts
    Member since:
    Nov 2011

    Posted 20 Mar 2012 Link to this post

    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

  2. Answer
    Konstantina avatar
    2332 posts

    Posted 23 Mar 2012 Link to this post


    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.

    the Telerik team
    Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Back to Top