Skip to main content

DragOverEventArgsBase.InsertType Property

Gets or sets whether dragged data elements are inserted before or after a data element under the mouse pointer, or as a child (for tree list only).

Namespace: DevExpress.Utils.DragDrop

Assembly: DevExpress.Utils.v24.2.dll

Declaration

public InsertType InsertType { get; set; }

Property Value

Type Description
InsertType

An InsertType enumeration value that specifies where dragged elements will be inserted.

Available values:

Name Description
None

It is not allowed to drop data elemements on the target control.

AsChild

Drop the dragged data element as a child of the data element under the mouse pointer (tree list only).

After

Drop the dragged data element after the data element under the mouse pointer.

Before

Drop the dragged data element before the data element under the mouse pointer.

The following code snippets (auto-collected from DevExpress Examples) contain references to the InsertType property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also