TelerikDockPanel Expand and Collapse

2 posts, 0 answers
  1. Ruth
    Ruth avatar
    7 posts
    Member since:
    Sep 2013

    Posted 04 Oct 2013 Link to this post

    HI All,

            I need an idea how to implement the below one.
            
                I have two RadDockPanels in a usercontrol,where one dock panel has another usercontrol which consists of telerik rad gridview as a child element and another as the graph related to the data in the grid view.

    The requirement is there is one control whether a button or toggle when we click on it only dock panel 1 with grid view expanded should be appeared in the screen and the other dock panel should get collapsed and a button to reset it else if it is a toggle when we again click on it,it should get reset.

    I am short of ideas,could any one help me out in this soon,

    Thanks,
    Ramya
  2. Kalin
    Admin
    Kalin avatar
    1208 posts

    Posted 09 Oct 2013 Link to this post

    Hi Ramya,

    As far as we understand the desired scenario you need basically to have two Panes and by clicking a Button to changed their visibility? If so you can easily switch their IsHidden property in order to show/hide them. For your convenience we have prepared sample project which demonstrates the approach.

    Please check the attachment and let us know if this works for you. If this is not the desired behavior I will ask you to provide some more details on the requirements.

    Regards,
    Kalin
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top