Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
255
UltraDockManager - Save/Load Layout - Name as the key
posted

Hi,

After going through the documentation and and N number of posts it looks like the DockManager in winforms package uses the Name as the key, So, I have to give unique name to every DockAreaPane so that when we save the layout and load the same, the dockmanager can arrange everything properly. 

Here is the issue I am facing,

1. I want to provide a caption for the docareapane that will be controlled by the user, so there is a possibility for duplicates.

2. Is there a serialization ID like WPF or some other way that save / load layout doesn't depend on the name key ?

3. Worst case scenario - Is there a way to hid the caption text? so that none of the docking pane show any caption text.  if I set showcaption = False. The whole caption bar gets hidden thats not what I want. 

Any help is greatly appreciated.

Thanks!

Parents
No Data
Reply
  • 71886
    Verified Answer
    Offline posted

    Hello ssinha,

    For the first and second you could take a look at my sample - I believe that the Caption has nothing to do with the Key of the pane so after changing the captions of all panes to be duplicate and reordering the panes, loading the layout everything seems to work fine.

    For the third you could try setting the caption to empty string.

    Please feel free to let me know if I misunderstood you or if you have any other questions.

    SaveLayoutSameCaption.zip
Children