Skip to main content
.NET Framework 4.5.2+

LayoutTableRow.Accept(LayoutVisitor) Method

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

Namespace: DevExpress.XtraRichEdit.API.Layout

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

NuGet Package: DevExpress.RichEdit.Core


public override void Accept(
    LayoutVisitor visitor


Name Type Description
visitor LayoutVisitor

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


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

The Accept method dispatches the call to the VisitTableRow method of the visitor instance. The visitor instance is the parameter passed to the Accept method.

The VisitTableRow method is a virtual protected method of the LayoutVisitor class. Implement it by overriding the VisitTableRow method in the LayoutVisitor descendant (the visitor). It will process the LayoutTableRow layout elements.

To know more, see the LayoutVisitor reference topic.

See Also