How to: Implement Drag-and-Drop Between the GridControl and the ListBoxEdit

  • 7 minutes to read

This example demonstrates how to implement drag-and-drop between the GridControl and the ListBoxEdit. See the following topic to learn more: Drag-and-Drop Between GridControl and ListBoxEdit.

The image below shows the result:

DragDropBetweenGridControlAndListBox

View Example

' Developer Express Code Central Example:
' How to enable Drag and Drop feature in the TableView
' 
' This example shows how to enable Drag and Drop functionality in the
' TableView.
' 
' Please note that if you wish to enable this functionality, it is
' necessary to add a reference to the DevExpress.Xpf.Grid.v12.2.Extensions
' assembly.
' 
' You can find sample updates and versions for different programming languages here:
' http://www.devexpress.com/example=E3918

Imports System
Imports System.Collections.Generic
Imports System.Configuration
Imports System.Data
Imports System.Linq
Imports System.Windows

Namespace How_to_Drag_and_Drop_Between_GridControl_and_ListBoxEdit
    ''' <summary>
    ''' Interaction logic for App.xaml
    ''' </summary>
    Partial Public Class App
        Inherits Application

    End Class
End Namespace