corelibraries-devexpress-dot-xtraspellchecker-dot-spellcheckerispelldictionary.md
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
public virtual string GrammarPath { get; set; }
Public Overridable Property GrammarPath As String
| Type | Description |
|---|---|
| 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
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
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