SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftMask/OCX 7.0 - Masked Edit Control
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftPrintPreview/DLL 2.0 - Print Preview Control (discontinued)
SftTree/DLL 7.5 - Tree Control
SftBox/OCX 5.0 - Combo Box Control
SftButton/OCX 3.0 - Button Control
SftDirectory 3.5 - File/Folder Control (discontinued)
SftMask/OCX 7.0 - Masked Edit Control
SftOptions 1.0 - Registry/INI Control (discontinued)
SftPrintPreview/OCX 1.0 - Print Preview Control (discontinued)
SftTabs/OCX 6.5 - Tab Control (VB6 only)
SftTree/OCX 7.5 - Tree Control
SftTabs/NET 6.0 - Tab Control (discontinued)
SftTree/NET 2.0 - Tree Control
Defines the object (item or cell) that is the current drop target during a drag & drop operation.
 Class: SftTree
 Namespace: Softelvdm.SftTreeNET
 Assembly: Softelvdm.SftTreeNET
public object DropTarget { get; set; }
Public Property DropTarget As Object
The drop target object or null/Nothing if there is no drop target
The default value is null/Nothing.
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 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.
                e.Effect = DragDropEffects.Copy;
            else
                e.Effect = DragDropEffects.None;
        }
        private void sftTree1_DragOver(object sender, DragEventArgs e) {
            // in this example, if we don't have a valid drop target, 
            // we STILL allow drops
            if (sftTree1.DropTarget == null)
                e.Effect = DragDropEffects.Copy;
        }
        private void sftTree1_DragDrop(object sender, DragEventArgs e) {
            Debug.Write("*** sftTree1 DragDrop ");
            DumpValues(e);
    Else
        e.Effect = DragDropEffects.None
    End If
End Sub
Private Sub sftTree1_DragOver(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles sftTree1.DragOver
    ' in this example, if we don't have a valid drop target,
    ' we STILL allow drops
    If sftTree1.DropTarget Is Nothing Then
        e.Effect = DragDropEffects.Copy
    End If
End Sub
Private Sub sftTree1_DragDrop(ByVal sender As Object, ByVal e As System.Windows.Forms.DragEventArgs) Handles sftTree1.DragDrop
    Debug.Write("*** sftTree1 DragDrop ")
    DumpValues(e)See Also SftTree Class | Classes | SftTree/NET 2.0
