[英]The property 'IsHandWritingViewEnabled' was not found in type 'TextBox'
According to the doc , the WPF TextBox has a property named "IsHandwritingViewEnabled".根据文档,WPF TextBox 有一个名为“IsHandwritingViewEnabled”的属性。
I want to use the WPF TextBox in a container in a VB6 app.我想在 VB6 应用程序的容器中使用 WPF 文本框。
To do that, I create a new project with type "WPF Browser User Control Library (.NET Framework):为此,我创建了一个类型为“WPF Browser User Control Library (.NET Framework)”的新项目:
It automatically adds a UserControl.它会自动添加一个 UserControl。
I drag a WPF TextBox onto this UserControl:我将一个 WPF TextBox 拖到这个 UserControl 上:
To test if the property can be accessed, I add为了测试是否可以访问该属性,我添加了
IsHandwritingViewEnabled="True"
to the textbox.到文本框。 However, this does not work.
但是,这不起作用。 It says "The property 'IsHandWritingViewEnabled' was not found in type 'TextBox'.
它说“在类型‘TextBox’中找不到属性‘IsHandWritingViewEnabled’。
What am I doing wrong?我究竟做错了什么?
Thank you!谢谢!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.