Skip to main content
All docs
V26.1
  • ColumnDragOverEventArgs.SourceView Property

    Gets the source view where the drag operation started.

    Namespace: DevExpress.Xpf.Grid

    Assembly: DevExpress.Xpf.Grid.v26.1.Core.dll

    Declaration

    public DataViewBase SourceView { get; }

    Property Value

    Type Description
    DataViewBase

    The source view where the drag operation started.

    Remarks

    The following code snippet prevents users from dragging an item within a TableView:

    private void TableView_ColumnDragOver(object sender, ColumnDragOverEventArgs e) {
        if (e.SourceView is TableView) {
            e.Cancel = true;
        }
    }
    
    See Also