Infragistics(R) NetAdvantage(R) : WPF 2012.1
E-mail your feedback on this topic.
Shared XAML > Editors > xamSpellChecker > Using xamSpellChecker > Dictionaries

Glossary Item Box

Before You Begin

The xamSpellChecker™ 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 WPF:

C:\Program Files\Infragistics\NetAdvantage 12.1\WPF\Dictionaries


This topic assumes that you already have a xamSpellChecker control added to your page, for more information see the Adding xamSpellChecker to Your Page topic.

What You Will Accomplish

This topic will guide you through the process of changing which dictionary the xamSpellChecker control uses. In this example, we will use the French dictionary.

Follow these Steps

  1. Create a folder in the ClientBin of your application, naming it Dictionaries.
  2. Copy the French dictionary (fr-french-v2-whole.dict) from its default location to the Dictionaries folder.
  3. Set the DictionaryUri property to the Uri of the French dictionary.

    In XAML:

    <Grid x:Name="LayoutRoot">
       <ig:XamSpellChecker x:Name="spellChecker" DictionaryUri="Dictionaries/fr-french-v2-whole.dict"></ig:XamSpellChecker></Grid>

    In Visual Basic:

    Me.spellChecker.DictionaryUri = New Uri("Dictionaries/fr-french-v2-whole.dict", UriKind.Relative)


    In C#:

    this.spellChecker.DictionaryUri = new Uri("Dictionaries/fr-french-v2-whole.dict", UriKind.Relative);
Related Topics


Performance Options

Spelling Options

How to Specify Text to be Spell Checked