RadDocking Save layout with Percentages

2 posts, 0 answers
  1. Johan
    Johan avatar
    6 posts
    Member since:
    Jul 2015

    Posted 01 Dec 2015 Link to this post


     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?


  2. Vladi
    Vladi avatar
    743 posts

    Posted 03 Dec 2015 Link to this post

    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.

    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
  3. DevCraft R3 2016 release webinar banner
Back to Top