开发者

Why are WPF types inside the System.Windows namespace?

Is it because this technology is tied to Windows? Reason I ask is I read and have been told here that it's not dependent on Windows, so can be ported to other platforms.

In that case shouldn't it be in a non-Windows namespace?

My colleague told me it's because Microsoft didn开发者_如何转开发't want WPF to be ported to other platforms.


The namespace doesn't really matter. Mono has a pretty good implementation of System.Windows.Forms that runs on Windows, Linux, and OS X.


WPF means Windows Presentation Foundation.

And it does not directly indicate whether it is possible (or allowed) to port it to other platforms. WinForms is present in Mono, WPF not (yet).


I heard the "Windows" is not supposed to mean "Microsoft Windows (TM)" in this context, but simply a plural form of the word "window".

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜