Skip to main content

BaseLayoutItem.Accept(VisitDelegate<BaseLayoutItem>) Method

Invokes the specified delegate for each item that belongs to the current item.

Namespace: DevExpress.Xpf.Docking

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

NuGet Package: DevExpress.Wpf.Docking

Declaration

public virtual void Accept(
    VisitDelegate<BaseLayoutItem> visit
)

Parameters

Name Type Description
visit DevExpress.Xpf.Layout.Core.VisitDelegate<BaseLayoutItem>

A DevExpress.Xpf.Layout.Core.VisitDelegate delegate that will be invoked for the group’s items.

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