SftTree/NET 2.0

DropTarget Property, SftTree Class

Softel vdm, Inc.

Defines the object (item or cell) that is the current drop target during a drag & drop operation.

Syntax      SftTree Class (Softelvdm.SftTreeNET)

VB   

Public Property DropTarget As Object

C#   

public object DropTarget { get; set; }

C++   

public: property Object^ DropTarget {
        Object^ get();
        void set(Object^ value);
}

Property Value

The drop target object or null/Nothing if there is no drop target

The default value is null/Nothing.

Comments

The DropTarget property defines the object (item or cell) that is the current drop target during a drag & drop operation.

The drop target's appearance is identical to the properties defined for flyby highlighting.

The drop target is usually used while handling Control.DragEnter, DragOver and DragDrop events. A default drop target is provided by the control automatically, but an application can override the drop target while handling these events.


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