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

How control expanding/collapsing of docked container

1 Answer 92 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Abhishek
Top achievements
Rank 1
Abhishek asked on 15 Apr 2014, 07:33 AM
Hi,

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:RadPaneGroup>
                        <telerik:RadPane IsActive="True" IsEnabled="True" IsSelected="True" CanUserClose="False" IsPinned="False" Content="{Binding}" telerikAnimation:AnimationManager.IsAnimationEnabled="False"/>
                    </telerik:RadPaneGroup>
                </telerik:RadSplitContainer>

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.

1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 17 Apr 2014, 11:46 AM
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.

Regards,
Kalin
Telerik
 

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.

 
Tags
Docking
Asked by
Abhishek
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or