BaseLayoutItem.Move(BaseLayoutItem, InsertType, MoveType) Method
In This Article
Moves the item to the specified visual position within the LayoutControl.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
NuGet Package: DevExpress.Win.Navigation
#Declaration
public virtual bool Move(
BaseLayoutItem baseItem,
InsertType insertType,
MoveType moveType
)
#Parameters
Name | Type | Description |
---|---|---|
base |
Base |
A Base |
insert |
Insert |
The item’s new position relative to the base |
move |
Move |
A Move |
#Returns
Type | Description |
---|---|
Boolean |
|
#Remarks
The following code moves layoutControlItem1 to the right of layoutControlItem2:
layoutControlItem1.Move(layoutControlItem2, DevExpress.XtraLayout.Utils.InsertType.Right, MoveType.Inside);
See Also