How control expanding/collapsing of docked container

2 posts, 0 answers
  1. Abhishek
    Abhishek avatar
    1 posts
    Member since:
    Apr 2014

    Posted 15 Apr 2014 Link to this post


    I am looking to control expanding and collapsing of the docked splitcontainer. This is the structure of my splitcontainer - 

    <telerik:RadSplitContainer IsEnabled="True" Width="400" InitialPosition="DockedLeft">
                            <telerik:RadPane IsActive="True" IsEnabled="True" IsSelected="True" CanUserClose="False" IsPinned="False" Content="{Binding}" telerikAnimation:AnimationManager.IsAnimationEnabled="False"/>

    I want to keep the Pane IsPinned="False" and just control the functionality like hover on the splitcontainer from click of a button.

    Appreciate your help. Thanks.
  2. Kalin
    Kalin avatar
    1284 posts

    Posted 17 Apr 2014 Link to this post

    Hello Abhishek,

    You could easily achieve the desired by changing the IsActive property of the desired Pane by using a button click. Once the Pane is activated it will expand automatically and stay opened as long as it is the active Pane of the Docking control. Check the attached sample project which demonstrates the exact approach.

    Hope this will work for you.


    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top