Enable the TreeList.OptionsDragAndDrop.AcceptOuterNodes option to allow the TreeList control to accept nodes being dragged from another TreeList control.
C#public Form1() {
InitializeComponent();
treeList1.OptionsDragAndDrop.AcceptOuterNodes = true;
treeList2.OptionsDragAndDrop.AcceptOuterNodes = true;
}
Files to Review
Documentation
See Also
Does this example address your development requirements/objectives?
(you will be redirected to DevExpress.com to submit your response)
Example Code
C#using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraTreeList.Nodes;
using DevExpress.XtraTreeList;
using System.Collections;
using DevExpress.XtraTreeList.Columns;
namespace Q1824862_1
{
public partial class Form1 : Form
{
public Form1()
{
InitializeComponent();
treeList2.OptionsDragAndDrop.AcceptOuterNodes = true;
}
}
}