Skip to main content

BaseLayoutItem.Accept(IVisitor<BaseLayoutItem>) Method

Invokes the Visit method of the specified visitor for each item that belongs to the current BaseLayoutItem object.

Namespace: DevExpress.Xpf.Docking

Assembly: DevExpress.Xpf.Docking.v24.2.dll

NuGet Package: DevExpress.Wpf.Docking

Declaration

public virtual void Accept(
    IVisitor<BaseLayoutItem> visitor
)

Parameters

Name Type Description
visitor DevExpress.Xpf.Layout.Core.IVisitor<BaseLayoutItem>

An object implementing the DevExpress.Xpf.Layout.Core.IVisitor interface.

Remarks

Specific layout items can own other layout items (for instance, the LayoutGroup and TabbedGroup classes). The Accept method provides recursive iteration through the layout items that belong to the current layout item, and enables specific operations to be performed on each item. See LayoutGroup.Accept to learn more.

See Also