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.v20.2.dll

Declaration

public LayoutItemDragController(
    BaseLayoutItem dragItem,
    LayoutItemDragController controller
)
Public Sub New(
    dragItem As BaseLayoutItem,
    controller As LayoutItemDragController
)

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