0

According to the doc, the WPF TextBox has a property named "IsHandwritingViewEnabled".

I want to use the WPF TextBox in a container in a VB6 app.

To do that, I create a new project with type "WPF Browser User Control Library (.NET Framework):

enter image description here

It automatically adds a UserControl.

I drag a WPF TextBox onto this UserControl:

enter image description here

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'.

enter image description here

What am I doing wrong?

Thank you!

tmighty
  • 10,734
  • 21
  • 104
  • 218

1 Answers1

0

The error is because TextBox in wpf does not have the 'IsHandWritingViewEnabled' property. 'IsHandWritingViewEnabled' property is for UWP TextBox.

Hui Liu-MSFT
  • 770
  • 4
  • 15