Add Dictionaries to KetticSpellChecker in C#.NET
KetticSpellChecker control for Windows Forms contains a predefined dictionary to perform English spelling check by default setting. When the developers want to set the spell checking to other languages, they can add other language dictionaries into the KetticSpecllChecker control. Additionally, this control is able to perform the mixed languages spelling check and easily change the language and corresponding dictionary used during spell checking. In this C# tutorial, we will go through how to add a custom dictionary to the control
Add a Custom Dictionary into KetticSpellChecker
The following steps demonstrate how to load a French (fr-FR) dictionary to the KetticSpellChecker control and set the dictionary for your Windows application.
The following C# code sample demonstrate how to achieve the steps above
And now, we can add the custom dictionary into the KetticSpellChecker control through the GetControlSpellChecker method. We can use only one KetticSpellChecker instance to add different dictionaries of the same language for spell checking in your application. After we add the custom dictionary to this control, we should define a culture for the control via the CultureInfo property. The C# code below demonstrates how to define the culture.
The following C# code sample shows how to add a dictionary into the KetticSpellChecker WinForms control
And then, we can set the SpellCheckingCulture property for the KetticSpellChecker to apply a specific dictionary from the available ones.
UI Controlsfor Windows Forms.NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI Design
WinForms UI Controls