SftTree/NET 2.0

DragDetected Event, SftTree Class

Softel vdm, Inc.

Occurs when the user starts dragging an object.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Event DragDetected As DragDetectedEventHandler

C#   

public event DragDetectedEventHandler DragDetected;

C++   

public: event DragDetectedEventHandler DragDetected;

Event Data

The DragDetected event handler receives an argument of type DragDetectedEventArgs containing data related to this event.

Comments

The DragDetected event occurs when the user starts dragging an object.

This event is only available when the 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 Control.DoDragDrop), otherwise the tree control's built-in action (such as column reordering) will also be performed.


Feedback / comments / error reports for this topic
© 2007 - Softel vdm, Inc. - www.softelvdm.com