开发者

ReactiveUI in hybrid winForm/wpf applications

开发者 https://www.devze.com 2023-02-14 20:18 出处:网络
I have this winForm applications and we are about to rewrite some of the forms with WPF. So my plan so far is to create wpf user controls and add them into classic winforms. So far so good.

I have this winForm applications and we are about to rewrite some of the forms with WPF. So my plan so far is to create wpf user controls and add them into classic winforms. So far so good.

Now looking at using an MVVM frame work to make life easier and I cam across Caliburn and ReactiveUI. Caliburn in this scenario is not so easy to use as it needs to be initialised at an application level in a wpf application. Does the same apply to ReactiveUI or can I make it work with 开发者_开发百科a couple of wpf controls?


ReactiveUI doesn't need to be initialized at the app level by default, it should work fine with your scenario. If it doesn't, make sure to ping the mailing list and let me know about it!


For anyone else coming to this question in the future, Caliburn.Micro now has support for initialisation from anywhere (from version 1.1). See this discussion thread.

0

精彩评论

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

关注公众号