Skip to main content

LayoutItemDragController(BaseLayoutItem, BaseLayoutItem, InsertLocation, LayoutType) Constructor

Initializes a new LayoutItemDragController instance with settings specifying that the dragItem should be inserted next to the baseItem, occupying its largest part (typically, half the region).

Namespace: DevExpress.XtraLayout.Customization

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public LayoutItemDragController(
    BaseLayoutItem dragItem,
    BaseLayoutItem baseItem,
    InsertLocation insertLocation,
    LayoutType layoutType
)

Parameters

Name Type Description
dragItem BaseLayoutItem

A BaseLayoutItem object to be moved. This object is used to initialize the LayoutItemDragController.DragItem property.

baseItem BaseLayoutItem

A BaseLayoutItem object relative to which the dragItem will be positioned. This object is used to initialize the LayoutItemDragController.Item property.

insertLocation InsertLocation

A InsertLocation value that specifies whether the dragItem is inserted before or after the baseItem. This value is used to initialize the LayoutItemDragController.InsertLocation property.

layoutType LayoutType

A LayoutType value that specifies whether the dragItem is inserted horizontally or vertically next to the baseItem. This value is used to initialize the LayoutItemDragController.LayoutType property.

Remarks

This constructor sets the LayoutItemDragController.MoveType property to MoveType.Inside.

See Also