i want to add textbox1 spellcheck in framework 3.5 winform but its show error, how to add spellcheck in my textbox see below code and picture.
textBox1.SpellCheck.IsEnabled = true;
i want to add textbox1 spellcheck in framework 3.5 winform but its show error, how to add spellcheck in my textbox see below code and picture.
textBox1.SpellCheck.IsEnabled = true;
As @Sinatr has write to you in comments - you can't use WPF Spellchecking in WinForms application.
In WinForms you need add some library. For example you can try use offline The NetSpell project It's a little bit old library. Or you can use newer but still beta Spell Check Winforms TextBox
UPDATE: NetSpell is free. You can find manual by this link NetSpell - Spell Checker for .NET in Using the Library section.
There is also possibility to add in your WinForms application control named ElementHost. It will allow you to insert in your application WPF TextBox. And you will be able to set SpellCheck.IsEnabled property for this TextBox inside ElementHost.
Here is nice link about ElementHost: Hosting WPF controls in a WinForms application