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

RadDocking Save layout with Percentages

1 Answer 15 Views
Docking
This is a migrated thread and some comments may be shown as answers.
Johan
Top achievements
Rank 1
Johan asked on 01 Dec 2015, 07:30 AM

Hello

 I am in a situation where the layout should be pre-determined on one machine, and then loaded on another machine. The resolutions of these machines are different, so I would like to save these panels as a percentage rather than a static width. Is this possible?

 I am creating the panels dynamically with binding on the PanesSource, so I cannot set these options in Xaml for each RadPanel (Except if I override the ContentTemplate?). Anyways the question still stands, can I save the layout percentage-wise instead of static number when the SaveLayout method is called?

 

1 Answer, 1 is accepted

Sort by
0
Vladi
Telerik team
answered on 03 Dec 2015, 02:11 PM
Hello Johan,

Thank you for contacting us.

It looks like you are looking for the RelativeSize feature of the RadDocking control. In order to achieve a relative sizing of the control's elements all you need to do is set the ProportionalStackPanel.RelativeSize attached property to the RadSplitContainer instances. You can take a look this article from our online documentation which goes if further details.

Hope this is helpful, if you have any other questions feel free to write to us again.

Regards,
Vladi
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
Docking
Asked by
Johan
Top achievements
Rank 1
Answers by
Vladi
Telerik team
Share this question
or