.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
A newer version of this page is available. Switch to the current version.

AutoCorrectInfo.DecrementStartPosition() Method

Extends a text range being analyzed by moving its start by one position.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.RichEdit.v20.2.Core.dll


public virtual bool DecrementStartPosition()


Type Description

true if the text range has been changed; otherwise, false.


You can combine several incrementing and decrementing methods to resize and move the text frame in the document.

If a document start is reached, the position can not be decremented and remains the same. The method returns false. You can also use the AutoCorrectInfo.CanDecrementStart method to check for this situation.

The following code snippets (auto-collected from DevExpress Examples) contain references to the DecrementStartPosition() method.


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.

See Also