Skip to main content
All docs
V25.1
  • DevExpress v25.1 Update — Your Feedback Matters

    Our What's New in v25.1 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

    Take the survey Not interested

    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.v25.1.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