单是否支持XAML? [英] Does Mono support XAML?

查看:122
本文介绍了单是否支持XAML?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

单是否支持XAML?

具体我想切换到使用XAML新的图形用户界面的工作,我做的,而且我喜欢让我的个人项目在编译单。如果我只是坚持使用普通的老式System.Windows.Forms的现在?

Specifically I'm thinking of switching to using XAML for new GUI work that I do but also I like to keep my personal projects compilable in Mono. Should I just stick with plain old System.Windows.Forms for now?

推荐答案

单声道支持XAML为月光(端口Silverlight的),但不和不打算支持WPF

Mono supports XAML for Moonlight (the port of Silverlight), but does not, and does not plan to support WPF.

我觉得这是一个好主意,让您的逻辑分开你的UI反正 - 如果你这样做,你总是可以确保逻辑正常工作在单声道,并使用WPF为你的用户界面。如果你决定你需要的端口,并运行在单声道,这纯粹是移植/执行与您正确的应用程序的工作原理UI的问题。

I feel that it's a good idea to keep your logic separate from your UI anyways - if you do that, you can always make sure the logic works correctly in Mono, and use WPF for your UI. If you ever decide you need to port and run on Mono, it would just be a matter of porting/implementing a UI that works with your application correctly.

这篇关于单是否支持XAML?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆