Infragistics(R) NetAdvantage(R) Silverlight 2010.1
Dictionaries


Glossary Item Box

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

  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">
       <igSpellChecker:XamWebSpellChecker x:Name="spellChecker" DictionaryUri="Dictionaries/fr-french-v2-whole.dict"></igSpellChecker:XamWebSpellChecker></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

E-mail your feedback on this topic.

Copyright © 2008-2010 Infragistics, Inc. All rights reserved.

Build Version: 10.1