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 area where items may be automatically expanded, when the mouse cursor hovers over the item for an extended period of time.
Class: SftTree
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public AutoExpandAreaEnum AutoExpandArea { get; set; }
Public Property AutoExpandArea As AutoExpandAreaEnum
The area of an item where items may be automatically expanded.
The default value is AutoExpandAreaEnum.AllColumns.
Defines the area where items may be automatically expanded, when the mouse cursor hovers over the item for an extended period of time.
If the mouse cursor hovers over an expandable item for an extended period of time, the item can automatically be expanded based on the SftTree.AutoExpandHover and SftTree.AutoExpandDragDrop property setting.
} sftTree1.ItemCollection.Collapse(CollapseStyleEnum.All); sftTree1.Columns.MakeOptimal(0, false); sftTree1.RecalcHorizontalExtent(); // We need to set up the tree control as a drop target sftTree1.AllowDrop = true; sftTree1.AutoExpandDragDrop = true; sftTree1.AutoExpandArea = AutoExpandAreaEnum.AllColumns; sftTree1.Initializing = false; // We also need to set up the text box so we can drop data textBox1.AllowDrop = true; } private void sftTree1_DragDetected(object sender, DragDetectedEventArgs e) {
Next sftTree1.ItemCollection.Collapse(CollapseStyleEnum.All) sftTree1.Columns.MakeOptimal(0, False) sftTree1.RecalcHorizontalExtent() ' We need to set up the tree control as a drop target sftTree1.AllowDrop = True sftTree1.AutoExpandDragDrop = True sftTree1.AutoExpandArea = AutoExpandAreaEnum.AllColumns sftTree1.Initializing = False ' We also need to set up the text box so we can drop data textBox1.AllowDrop = True End Sub Private Sub sftTree1_DragDetected(ByVal sender As Object, ByVal e As Softelvdm.SftTreeNET.DragDetectedEventArgs) Handles sftTree1.DragDetected
See Also SftTree Class | Classes | SftTree/NET 2.0