Table of Contents

Method CanDropNodeOnNode

Namespace
Alternet.Common.Controls.TreeView
Assembly
Alternet.Common.v9.dll

CanDropNodeOnNode(TreeNode, TreeNode)

When implemented by a class, determines whether specified node can be dragged to another one.

bool CanDropNodeOnNode(TreeNode draggedNode, TreeNode nodeToDropOn)

Parameters

draggedNode TreeNode

Node to drag.

nodeToDropOn TreeNode

Node to drag to.

Returns

bool

True if the content of the nodeToDropOn can be a parent of the draggedNode content.