开发者

WPF saving control state

开发者 https://www.devze.com 2023-03-14 18:06 出处:网络
Writing a custom Listview control to persist it to a 开发者_开发百科user\'s machine and have the state restored when the user runs the application again. I am assuming that this is not a trivial task

Writing a custom Listview control to persist it to a 开发者_开发百科user's machine and have the state restored when the user runs the application again. I am assuming that this is not a trivial task and not worth the development effort. There are third party controls that provide this functionality. Would it be better in this case to buy vs build.


If your custom Listview is build as MVVM pattern its Model may take rule to persist ListView state. Moreover you can to do it via Serialization so that it would be quite trivial task.

0

精彩评论

暂无评论...
验证码 换一张
取 消