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

Docking panes properties question

3 Answers 45 Views
PersistenceFramework
This is a migrated thread and some comments may be shown as answers.
Oliver
Top achievements
Rank 1
Oliver asked on 20 Dec 2011, 06:06 AM
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

3 Answers, 1 is accepted

Sort by
0
Petar Mladenov
Telerik team
answered on 22 Dec 2011, 05:45 PM
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 >>

0
Oliver
Top achievements
Rank 1
answered on 22 Dec 2011, 07:58 PM
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
0
Alex Fidanov
Telerik team
answered on 27 Dec 2011, 04:40 PM
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 >>

Tags
PersistenceFramework
Asked by
Oliver
Top achievements
Rank 1
Answers by
Petar Mladenov
Telerik team
Oliver
Top achievements
Rank 1
Alex Fidanov
Telerik team
Share this question
or