HeaderPane
Main
Hide

SftTree/NET 3.0 - Tree Control for Windows Forms

Share Link
Print

DragDetected Event, SftTree Class

Occurs when the user starts dragging an object.

Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET

Syntax

public event DragDetectedEventHandler DragDetected;
Public Event DragDetected As DragDetectedEventHandler

Comments

Occurs when the user starts dragging an object.

This event is only available when the SftTree.DragStyle property is defined to detect drag operations (DragStyleEnum.Detect).

The DragStarting event is only used to signal that the user has requested a drag & drop operation. The actual implementation of the drag & drop operation is delegated to the container, which must support drag & drop between controls.

The Handled field of the DragDetectedEventArgs class instance must be set to True, if the application performs drag & drop (usually by invoking SftTree.DoDragDrop), otherwise the tree control's built-in action (such as column reordering) will also be performed.

See Also SftTree Class | Classes | SftTree/NET 3.0