LayoutItemDragController(BaseLayoutItem, BaseLayoutItem) Constructor
Initializes a new LayoutItemDragController instance with settings specifying that the_dragItem_ should be inserted horizontally after the baseItem, occupying its largest part (typically, half the region).
Namespace: DevExpress.XtraLayout.Customization
Assembly: DevExpress.XtraLayout.v24.2.dll
Declaration
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. |
Remarks
This constructor initializes other properties as follows:
- LayoutItemDragController.MoveType is set to MoveType.Inside
- LayoutItemDragController.InsertLocation is set to InsertLocation.After
- LayoutItemDragController.LayoutType is set to LayoutType.Horizontal.
See Also