What option to serialize to save WPF GridSplitter location?

I want to keep the layout of the GridSplitter used to separate the two columns of the grid.

What should I serialize? Column width before splitter? Separator Left property? The size and position of the window itself is serialized separately.

+4
source share
1 answer

You can use the GridLengthConverter to save the settings.

Here is a post that details how to use the class as they ran into a similar problem.

+1
source

All Articles