Back to Devexpress

ASPxSpellChecker.GetCustomDictionary() Method

aspnet-devexpress-dot-web-dot-aspxspellchecker-dot-aspxspellchecker-6094cd0b.md

latest3.1 KB
Original Source

ASPxSpellChecker.GetCustomDictionary() Method

Returns a custom dictionary of the spell checker.

Namespace : DevExpress.Web.ASPxSpellChecker

Assembly : DevExpress.Web.ASPxSpellChecker.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public SpellCheckerCustomDictionary GetCustomDictionary()
vb
Public Function GetCustomDictionary As SpellCheckerCustomDictionary

Returns

TypeDescription
SpellCheckerCustomDictionary

A SpellCheckerCustomDictionary object representing a custom dictionary.

|

Remarks

A SpellCheckerCustomDictionary is the dictionary containing words added by the user while checking. Newly added words are stored in the session, the original word file of the custom dictionary remains intact.

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

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.

asp-net-web-forms-spell-checker-load-and-update-custom-dictionary/CS/SpellCheckerCustomDictionarySample/Default.aspx.cs#L29

csharp
ASPxSpellChecker checker = sender as ASPxSpellChecker;
SpellCheckerCustomDictionary dic = checker.GetCustomDictionary();
if (dic != null) {

asp-net-web-forms-spell-checker-load-and-update-custom-dictionary/VB/SpellCheckerCustomDictionarySample/Default.aspx.vb#L32

vb
Dim checker As ASPxSpellChecker = TryCast(sender, ASPxSpellChecker)
Dim dic As SpellCheckerCustomDictionary = checker.GetCustomDictionary()
If dic IsNot Nothing Then

See Also

ASPxSpellChecker Class

ASPxSpellChecker Members

DevExpress.Web.ASPxSpellChecker Namespace