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.
我需要存储一些数据(如 3-4 个字符串变量),还需要将我的堆栈面板及其所有子元素存储在同一个 xml 文件中,稍后我必须将其带回显示堆栈面板并重新分配字符串变量一个新的。
我如何在 C# 中使用 WPF 做到这一点?