| Visual Basic (Declaration) | |
|---|---|
Public Event BeforeNodeExchange As DbiListControl.EventBeforeNodeExchangeHandler | |
| C# | |
|---|---|
public event DbiListControl.EventBeforeNodeExchangeHandler BeforeNodeExchange | |
The event handler receives an argument of type BeforeNodeExchangeEventArgs containing data related to this event. The following BeforeNodeExchangeEventArgs properties provide information specific to this event.
| Property | Description |
|---|---|
| AllowNodeExchange | Determines if the exchange will be allowed |
| NodeItemSource | The node item being dragged. |
| NodeItemTarget | The node item receiving the drop |
This event is triggered when a node is dragged/dropped through internal functionality enabled by the AllowItemDrag Property