I am making a C# Windows Form Application in Visual Studio 2012. I want add a textbox with spell checking capabilities. Could you please explain me the process for it ?
I know old link but Buzzzzz is correct. WinForms can't do it but it is really easy to create a wpf textbox or richtext box control and add it to your WinForms. Finding that darn property to tell the textbox to spell check is tricking but seriously,
You now have a control in your toolbox named whatever you names it. Drag and drop the control from the toolbox and there you go. To talk to it the defaults would be userControl1.TextBox.Text
Oh almost forgot. The Winforms and WPF are not all that friendly with each other and you will have to compile to remove the red line squiggles if they appear.
There is no built-in spellcheck capability on the Windows Forms textbox.
The best thing you can do is probably embed an WPF textbox in your form. Hans Passant gives a very thorough answer in this post on how to achieve that.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With