Skip to main content
Box

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

LayoutElementBase.Accept(LayoutVisitor) Method

Dispatches to the Visit method that is specific to the current LayoutType.

Namespace: DevExpress.XtraRichEdit.API.Layout

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

NuGet Package: DevExpress.RichEdit.Core

#Declaration

public abstract void Accept(
    LayoutVisitor visitor
)

#Parameters

Name Type Description
visitor LayoutVisitor

A LayoutVisitor implementation that is the instance of the visitor class defined in the Visitor pattern.

#Remarks

The Accept method calls a specific Visit method of the visitor; the LayoutElementBase passes itself as an argument to the Visit method being called.

See Also