Skip to main content

LayoutItemDragController(BaseLayoutItem, BaseLayoutItem, MoveType, InsertLocation, LayoutType) Constructor

Initializes a new LayoutItemDragController instance with settings specifying that the dragItem should be inserted next to the baseItem.

Namespace: DevExpress.XtraLayout.Customization

Assembly: DevExpress.XtraLayout.v24.2.dll

Declaration

public LayoutItemDragController(
    BaseLayoutItem dragItem,
    BaseLayoutItem baseItem,
    MoveType moveType,
    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.

moveType MoveType

A MoveType value that specifies whether the dragItem is inserted inside or outside the baseItem. This value is used to initialize the LayoutItemDragController.MoveType 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.

See Also