Skip to main content

LayoutItemDragController(BaseLayoutItem, LayoutItemDragController) Constructor

Initializes a new LayoutItemDragController instance with settings specifying that the dragItem should be inserted next to another item, as specified by the settings of the controller parameter.

Namespace: DevExpress.XtraLayout.Customization

Assembly: DevExpress.XtraLayout.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public LayoutItemDragController(
    BaseLayoutItem dragItem,
    LayoutItemDragController controller
)

Parameters

Name Type Description
dragItem BaseLayoutItem

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

controller LayoutItemDragController

A LayoutItemDragController object, whose settings determine how a dragItem is inserted next to another item.

Remarks

The following settings are copied from the controller parameter to the newly created LayoutItemDragController object:

See Also