Skip to main content

BaseLayoutItem.Clone(LayoutGroup, ILayoutControl) Method

Creates a copy of the current layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public virtual BaseLayoutItem Clone(
    LayoutGroup cloneParent,
    ILayoutControl cloneOwner
)

Parameters

Name Type Description
cloneParent LayoutGroup

A LayoutGroup object that represents the group to which the created layout item belongs.

cloneOwner DevExpress.XtraLayout.ILayoutControl

An object that implements the DevExpress.XtraLayout.ILayoutControl interface, and owns the created layout item.

Returns

Type Description
BaseLayoutItem

A BaseLayoutItem object that represents an exact copy of the current BaseLayoutItem instance.

Remarks

This member supports the .NET Framework infrastructure and is not intended to be used directly from your code.

See Also