Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Box

LayoutElement.Accept(LayoutVisitor) Method

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

Namespace: DevExpress.XtraRichEdit.API.Layout

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

Declaration

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 LayoutElement passes itself as an argument to the Visit method being called.

See Also