Skip to main content
Box

LayoutIterator(DocumentLayout) Constructor

Initializes a new instance of the LayoutIterator class for the specified document layout.

Namespace: DevExpress.XtraRichEdit.API.Layout

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

NuGet Packages: DevExpress.RichEdit.Core, DevExpress.Win.Navigation

Declaration

public LayoutIterator(
    DocumentLayout documentLayout
)

Parameters

Name Type Description
documentLayout DocumentLayout

A DocumentLayout object which provides access to the document layout model.

Remarks

Use constructor to create a new LayoutIterator instance when the document layout is invalidated (the LayoutIterator.IsLayoutValid property is false).

The document layout is invalidated and rebuilt after any document modification. When the user selects another SubDocument (the content of the TextBox, header or footer), the layout is also invalidated.

See Also