开发者

Using XAML in WinForms

开发者 https://www.devze.com 2023-01-24 15:09 出处:网络
I want to use XAML to generate classes at compile time in a complete WinForms app. I don\'t want to use WPF although I am open to suggestions.

I want to use XAML to generate classes at compile time in a complete WinForms app. I don't want to use WPF although I am open to suggestions.

It seems like this should be possible but I can't find any information about exactly how. The cl开发者_运维技巧osest thing I've found is this page: http://anoriginalidea.wordpress.com/2007/12/13/weird-science-defining-winforms-in-xaml/

Any ideas?


It's a common misconception that XAML = WPF, it doesn't. I'd suggest looking at CODE + MARKUP = Applications book by Petzold. Though I suspect that it won't cover Winforms per se. I've always planned to try this but never got round to it. Good luck.

0

精彩评论

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