Before You Begin
The xamWebSpellChecker™ control comes standard with dictionaries for nine different languages, including Dutch, English (American, Australian, British and Canadian), French, German, Spanish and Portuguese. The default dictionary is English, American.
All dictionaries are located in the following installation folder for NetAdvantage Silverlight:
C:\Program Files\Infragistics\NetAdvantage Silverlight 10.1\Silverlight\Dictionaries
Assumptions
This topic assumes that you already have a xamWebSpellChecker control added to your page, for more information see the Getting Started topics.
What You Will Accomplish
This topic will guide you through the process of changing which dictionary the xamWebSpellChecker control uses. In this example, we will use the French dictionary.
Follow these Steps
- Create a folder in the ClientBin of your application, naming it Dictionaries.
- Copy the French dictionary (fr-french-v2-whole.dict) from its default location to the Dictionaries folder.
- Set the DictionaryUri property to the Uri of the French dictionary.
In XAML:
<Gridx:Name="LayoutRoot"><igSpellChecker:XamWebSpellCheckerx:Name="spellChecker"DictionaryUri="Dictionaries/fr-french-v2-whole.dict">…</igSpellChecker:XamWebSpellChecker>…</Grid>In Visual Basic:
Me.spellChecker.DictionaryUri =NewUri("Dictionaries/fr-french-v2-whole.dict", UriKind.Relative)In C#:
this.spellChecker.DictionaryUri =newUri("Dictionaries/fr-french-v2-whole.dict", UriKind.Relative);
How to Specify Text to be Spell Checked
