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

Programmatically simulate sliding of RadPane when unpinned

2 Answers 113 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Abhinav
Top achievements
Rank 1
Abhinav asked on 19 Jan 2017, 10:46 PM

Hi Telerik,

Could you please advise if there is a way to programmatically simulate the sliding of a RadPane using a bound property to a ViewModel, for instance? We've managed to bind to the IsPinned property, which will pin and unpin the pane, however we'd like to possibly bind to a property that will slide the RadPane in and out when it is unpinned, instead of having it pinned.

Please see the attached file for a screen print example.

Please advise.

 

Kind regards

2 Answers, 1 is accepted

Sort by
0
Accepted
Stefan Nenchev
Telerik team
answered on 24 Jan 2017, 04:00 PM
Hi Abhinav,

As far as I understand your requirement, you would like to achieve the show/hide of the RadPanes while keeping the sliding animation. In this case, you can use RadPane's IsActive property rather than the IsPinned one. Please give it a try and update me whether this is the effect you seek for.

Regards,
Stefan Nenchev
Telerik by Progress
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which you to write beautiful native mobile apps using a single shared C# codebase.
0
Abhinav
Top achievements
Rank 1
answered on 24 Jan 2017, 05:13 PM

Hi Stefan,

Thank you very much. We've tried IsActive (binding mode=TwoWay) and it was exactly what we were looking for.

Thanks again.

Kind regards

Tags
Docking
Asked by
Abhinav
Top achievements
Rank 1
Answers by
Stefan Nenchev
Telerik team
Abhinav
Top achievements
Rank 1
Share this question
or