Docking panes properties question

4 posts, 0 answers
  1. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 20 Dec 2011 Link to this post

    Hi,

    in my application I have a docking control with multiple panes. For each pane, their "CanFloat and CanUserPin" properties are bind to a dependency property. Can you tell me if any problem exist between the persistence, the docking and some panegroup/ânes properties?

    Also, if I want to implement a "Reload user persistence" button, can you tell me if their something I have to be aware before and after loading the last user persistence such an UpdateLayout or something else???

    Thank's
  2. Petar Mladenov
    Admin
    Petar Mladenov avatar
    2891 posts

    Posted 22 Dec 2011 Link to this post

    Hello,

     Can you please confirm that these two properties are two-way bound ?
    On the other hand, there is no event or anything else that you should be aware before or after the Load process. Looking forward to your reply.

    Greetings,
    Petar Mladenov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

  3. UI for WPF is Visual Studio 2017 Ready
  4. Oliver
    Oliver avatar
    263 posts
    Member since:
    Feb 2011

    Posted 22 Dec 2011 Link to this post

    Hi Petar,

    1. My RadWIndow can be visible or hidden regarding his state. This why for each pane, I bind their "IsHidden" property the "Visibility" poperty of his RadWIndow. With this, when the user hide/show the RadWindow, all panes should become visible/not visible. I hope this is the right thing to do.

    IsHidden

     

    ="{Binding ElementName=Me, Path=Visibility, Converter={StaticResource isHidden}}"

    2. Here is the property you asked me for...
    CanFloat="{Binding ElementName=Me, Path=IsDockable}"
    CanUserPin="{Binding ElementName=Me, Path=IsDockable}"

    CanUserClose
    ="False"

     



    Thank's
  5. Alex Fidanov
    Admin
    Alex Fidanov avatar
    636 posts

    Posted 27 Dec 2011 Link to this post

    Hello,

    These properties are saved by the docking control itself. The same issue should be present when saving the layout of the docking control on its own, without using the persistence framework. If that is your case, then it would be better for this to be requested as a feature for the Docking control rather than the persistence framework.

    Regards,
    Alex Fidanov
    the Telerik team

    Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

Back to Top