Programmatically simulate sliding of RadPane when unpinned

3 posts, 1 answers
  1. Abhinav
    Abhinav avatar
    40 posts
    Member since:
    Jun 2016

    Posted 19 Jan Link to this post

    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. Answer
    Stefan Nenchev
    Admin
    Stefan Nenchev avatar
    498 posts

    Posted 24 Jan Link to this post

    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 allow you to write beautiful native mobile apps using a single shared C# codebase.
  3. Abhinav
    Abhinav avatar
    40 posts
    Member since:
    Jun 2016

    Posted 24 Jan in reply to Stefan Nenchev Link to this post

    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

Back to Top