WinForms中的WPF自定义控件

WinForms中的WPF自定义控件

本文介绍了WinForms中的WPF自定义控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道我是否可以在WinForm应用程序中使用WPF自定义控件吗?我已成功添加WPF用户控件,并且其逻辑正确,但是自定义控件不起作用,在WPF中一切正常.
我的自定义控件"是单选按钮",当我在组框"中添加很少的控件并首先选中时,则是第二和第三,但是没有取消选中或选中第二个...可以选中所有控件..

Does anyone know if I can use a WPF Custom Control in a WinForm application? I added successfully WPF User Control and its logic is correct, but Custom Control doesn''t work, in WPF everything is ok.
My Custom Control is Radio Button, when I add few control in Group Box and check first, be the second and third, but first is not unchecked or second... All controls can be checked..

推荐答案



这篇关于WinForms中的WPF自定义控件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-07 02:08