LayoutPageBorders.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 override void Accept(
LayoutVisitor visitor
)
#Parameters
Name | Type | Description |
---|---|---|
visitor | Layout |
A Layout |
#Remarks
The Accept
method calls a specific Visit
method of the visitor. The LayoutPageBorders passes itself as an argument to the Visit
method being called.
The Accept
method dispatches the call to the VisitPageBorders
method of the visitor instance. The visitor instance is the parameter passed to the Accept
method.
The VisitPageBorders
method is a virtual protected method of the LayoutVisitor class. Override the VisitPageBorders
method in the LayoutVisitor descendant (the visitor) to process the LayoutPageBorders layout elements.
To know more, see the LayoutVisitor reference topic.