Skip to main content

DragOverGridEventArgsBase.InsertType Property

Gets or sets whether dragged data elements are inserted before or after a data element under the mouse pointer.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v23.2.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

public InsertType InsertType { get; set; }

Property Value

Type Description
InsertType

A value that specifies where dragged elements should 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 snippet (auto-collected from DevExpress Examples) contains a reference 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