Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DocumentIterator.MoveNext(DocumentElementType) Method

Navigates to the next document element of the specific type.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public bool MoveNext(
    DocumentElementType elementType
)

#Parameters

Name Type Description
elementType DocumentElementType

A DocumentElementType enumeration value that sets the element type to traverse.

#Returns

Type Description
Boolean

True, on a successful navigation; otherwise, false.

#Remarks

If navigation is successful, the DocumentIterator.Current property contains the document element to which the DocumentIterator has moved.

When the DocumentIterator reaches the last element of a stated type, the traversing stops, and the MoveNext method returns false.

See Also