BaseLayoutItem.Move(BaseLayoutItem, InsertType) Method
Moves the item to the specified visual position within the LayoutControl.
Namespace: DevExpress.XtraLayout
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
baseItem | BaseLayoutItem | A BaseLayoutItem descendant that represents the layout item within the LayoutControl. |
insertType | InsertType | The item’s new position relative to the baseItem. |
Returns
Type | Description |
---|---|
Boolean |
|
Remarks
The following code moves layoutControlItem1 on the right of layoutControlItem2:
layoutControlItem1.Move(layoutControlItem2, DevExpress.XtraLayout.Utils.InsertType.Right);
See Also