Skip to main content

IDocumentVisitor Interface

Interface implementing the Visitor pattern.

Namespace: DevExpress.XtraRichEdit.API.Native

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

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

Declaration

public interface IDocumentVisitor

Remarks

The Visitor pattern allows you to create a separate visitor concrete class for each type of operation, and to separate this operation implementation from the objects structure. Refer to the How to: Retrieve the List of Document Fonts using the Visitor-Iterator Pattern topic for more details.

Note

The DocumentVisitorBase class implements the IDocumentVisitor interface by default. Since the interface’s implementation can be modified, we recommend using the DocumentVisitorBase class instead creating of your own to avoid compile-time errors.

See Also