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
1179
Writing code to remember splitter positions
posted

Hi,

We have code in our projects base form class to remember several user settings, such as the size of the form, and restore them the next time the form is opened. This will record and restore the position of any splitter controls using the SplitterPosition property of the winforms slitter control. I'm trying to achieve the same thing with the UltraSplitter control, but there isn't (as far as I can see) any similar property I can use. Am I missing something obvious?

One thing I'm about to try is to look at the splitter's dock style, then search for another control within the same container with the same dock style, and store that controls height or width accordingly.

Parents Reply Children
No Data