Back to Devexpress

LayoutGroup.Move(LayoutItemDragController) Method

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-dot-move-x28-devexpress-dot-xtralayout-dot-customization-dot-layoutitemdragcontroller-x29.md

latest2.2 KB
Original Source

LayoutGroup.Move(LayoutItemDragController) Method

Moves the layout group to the specified position within the LayoutControl.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public override bool Move(
    LayoutItemDragController controller
)
vb
Public Overrides Function Move(
    controller As LayoutItemDragController
) As Boolean

Parameters

NameTypeDescription
controllerLayoutItemDragController

A LayoutItemDragController object whose settings determine the position to which the layout group should be moved.

|

Returns

TypeDescription
Boolean

true if the layout group has been successfully moved to a new position; otherwise, false.

|

Remarks

To move a layout group to a specific position, create a LayoutItemDragController object. It’s settings should identify the position to which the current group must be moved. Then call the Move method and pass the LayoutItemDragController object.

See Also

AddItem

Remove(BaseLayoutItem)

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace