Skip to main content
.NET Framework 4.5.2+

IDocumentVisitor Interface

Interface implementing the Visitor pattern.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core


public interface IDocumentVisitor


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.


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