BaseLayoutItem.Clone(LayoutGroup, ILayoutControl) Method

Creates a copy of the current layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v20.1.dll

Declaration

public virtual BaseLayoutItem Clone(
    LayoutGroup cloneParent,
    ILayoutControl cloneOwner
)
Public Overridable Function Clone(
    cloneParent As LayoutGroup,
    cloneOwner As ILayoutControl
) As BaseLayoutItem

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