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

IDocumentVisitor Interface

In This Article

Interface implementing the Visitor pattern.

Namespace: DevExpress.XtraRichEdit.API.Native

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

NuGet Package: DevExpress.RichEdit.Core

#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