windowsforms-devexpress-dot-xtratreelist-dot-treelistoptionsdraganddrop-375d00d1.md
Gets or sets whether the current TreeList accepts nodes being dragged from another TreeList control.
Namespace : DevExpress.XtraTreeList
Assembly : DevExpress.XtraTreeList.v25.2.dll
NuGet Packages : DevExpress.Win.Navigation, DevExpress.Win.TreeList
[DefaultValue(false)]
[XtraSerializableProperty]
public virtual bool AcceptOuterNodes { get; set; }
<DefaultValue(False)>
<XtraSerializableProperty>
Public Overridable Property AcceptOuterNodes As Boolean
| Type | Default | Description |
|---|---|---|
| Boolean | false |
true if the current TreeList accepts nodes being dragged from another TreeList control; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to AcceptOuterNodes |
|---|---|
| TreeList |
.OptionsDragAndDrop .AcceptOuterNodes
|
See the TreeList.CustomizeNewNodeFromOuterData topic to learn more.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AcceptOuterNodes 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.
winforms-drag-drop-nodes-between-treelists/CS/Q1824862_1/Form1.cs#L20
InitializeComponent();
treeList2.OptionsDragAndDrop.AcceptOuterNodes = true;
}
winforms-drag-drop-nodes-between-treelists/VB/Q1824862_1/Form1.vb#L12
InitializeComponent()
treeList2.OptionsDragAndDrop.AcceptOuterNodes = True
End Sub
See Also
TreeListOptionsDragAndDrop Class