Skip to main content
A newer version of this page is available. .

OptionsSpelling.CheckFromCursorPos Property

Start spell check from the cursor position.

Namespace: DevExpress.Xpf.SpellChecker

Assembly: DevExpress.Xpf.SpellChecker.v21.2.dll

NuGet Package: DevExpress.Wpf.SpellChecker

Declaration

public override DefaultBoolean CheckFromCursorPos { get; set; }

Property Value

Type Description
DefaultBoolean

A DefaultBoolean enumeration value specifying whether the spell checker should start checking from the cursor position.

Available values:

Name Description
True

true. DefaultBoolean.True has a constant value of 0, while the standard true value corresponds to a value of 1. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

False

false. DefaultBoolean.False has a constant value of 1, while the standard false value corresponds to a value of 0. In Visual Basic, do not use implicit conversion of Boolean values to DefaultBoolean, and vice versa, as the conversion may produce incorrect results.

Default

The default behavior determined by the control’s logic.

Property Paths

You can access this nested property as listed below:

Object Type Path to CheckFromCursorPos
SpellChecker
.OptionsSpelling .CheckFromCursorPos

Remarks

When this property is set to DefaultBoolean.True, the spell check begins with the word where the cursor is positioned. If the CheckFromCursorPos property is set to DefaultBoolean.False, the spell check starts at the beginning of the document.

See Also