Back to Devexpress

SpellCheckerISpellDictionary.GrammarPath Property

corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerispelldictionary.md

latest2.7 KB
Original Source

SpellCheckerISpellDictionary.GrammarPath Property

Gets or sets the filename of the affix file to be loaded.

Namespace : DevExpress.XtraSpellChecker

Assembly : DevExpress.SpellChecker.v25.2.Core.dll

NuGet Package : DevExpress.SpellChecker.Core

Declaration

csharp
public virtual string GrammarPath { get; set; }
vb
Public Overridable Property GrammarPath As String

Property Value

TypeDescription
String

A String value, specifying the path to the affix file.

|

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the GrammarPath property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-spellchecker-enable-in-text-box/CS/Form1.cs#L59

csharp
ispellDictionaryEnglish.DictionaryPath = @"Dictionaries\ISpell\en_US\american.xlg";
ispellDictionaryEnglish.GrammarPath = @"Dictionaries\ISpell\en_US\english.aff";
ispellDictionaryEnglish.AlphabetPath = @"Dictionaries\EnglishAlphabet.txt";

winforms-spellchecker-enable-in-text-box/VB/Form1.vb#L55

vb
ispellDictionaryEnglish.DictionaryPath = "Dictionaries\ISpell\en_US\american.xlg"
ispellDictionaryEnglish.GrammarPath = "Dictionaries\ISpell\en_US\english.aff"
ispellDictionaryEnglish.AlphabetPath = "Dictionaries\EnglishAlphabet.txt"

See Also

SpellCheckerISpellDictionary Class

SpellCheckerISpellDictionary Members

DevExpress.XtraSpellChecker Namespace