Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想保存GridSplitter用于分隔两个网格列的位置。
GridSplitter
我应该序列化什么?Width拆分器之前的列?分离器的Left属性?它单独序列化的窗口本身的大小和位置。
Width
Left
您可以使用GridLengthConverter来实现保存设置。
这是一篇详细介绍如何使用该课程的帖子,因为他们面临着类似的问题。