Skip to main content

SpellCheckerCustomDictionary.IsLocked() Method

Checks if the dictionary allows changes.

Namespace: DevExpress.XtraSpellChecker

Assembly: DevExpress.SpellChecker.v24.1.Core.dll

NuGet Package: DevExpress.SpellChecker.Core

Declaration

public bool IsLocked()

Returns

Type Description
Boolean

true if the dictionary is locked; otherwise false .

Remarks

You should always call this method before applying any modifications to the dictionary to check whether it allows changes.

To lock and unlock the dictionary, use the SpellCheckerCustomDictionary.BeginUpdate and SpellCheckerCustomDictionary.EndUpdate methods respectively.

See Also