arkhivania

I have Window with 15 gridsplitters and i need store grid layout for next application execution. Does WPF have already classes for layout storage


Re: Windows Presentation Foundation (WPF) Store layout

Drew Marsh

To the best of my knowledge, WPF does not provide anything out of the box to do this.

-Drew





Re: Windows Presentation Foundation (WPF) Store layout

Yi-Lun Luo - MSFT

Hello, you can try to use XamlWriter and XamlReader. XamlWriter will save the current state of the Grid along with the current position of the GridSplitter.