Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

In This Article

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

NuGet Package: DevExpress.Win.Navigation

#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