SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - 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
SftTree/OCX 8.0 (BETA) - Tree Control
SftButton/DLL 3.0 - Button Control
SftTree/DLL 8.0 - 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
SftTree/OCX 8.0 (BETA) - Tree Control
SftTree/NET 2.0 - Tree Control
Defines application-specific data.
Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public object TagObject { get; set; }
Public Property TagObject As ObjectThe first object in the ItemClass.TagObjects property.
The default value is null/Nothing.
Defines application-specific data.
The TagObject property accesses the first object in the ItemClass.TagObjects property. It is available to simplify access when applications use only one object per item.
The CellBaseClass.TagString and CellBaseClass.TagObjects properties can be used to store application-specific with cells.
item.Collapse(CollapseStyleEnum.SaveCurrent);
else {
if (item.HasChildren)
item.Expand(ExpandStyleEnum.RestoreLast);
else {
sftTree1.Initializing = true;
if (item.TagString == "Single") {
item._CreateChildren = true;
ListInfo(item.Children, item.TagObject);
} else {
foreach (object o in item.TagObjects) {
ItemClass newItem = item.Add(o.ToString());
newItem.TagObject = o;
newItem.ExpandCollapseButton = ExpandCollapseButtonStyleEnum.Show;
newItem.TagString = "Single";
}
item.Collapse(CollapseStyleEnum.SaveCurrent)
Else
If (item.HasChildren) Then
item.Expand(ExpandStyleEnum.RestoreLast)
Else
sftTree1.Initializing = True
If item.TagString = "Single" Then
item._CreateChildren = True
ListInfo(item.Children, item.TagObject)
Else
For Each o As Object In item.TagObjects
Dim newItem As ItemClass = item.Add(o.ToString())
newItem.TagObject = o
newItem.ExpandCollapseButton = ExpandCollapseButtonStyleEnum.Show
newItem.TagString = "Single"
NextSee Also ItemClass Class | Classes | SftTree/NET 2.0
