Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

BaseLayoutItem.Clone(LayoutGroup, ILayoutControl) Method

Creates a copy of the current layout item.

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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