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 expand/collapse button style.
Class: ItemClass
Namespace: Softelvdm.SftTreeNET
Assembly: Softelvdm.SftTreeNET
public ExpandCollapseButtonStyleEnum ExpandCollapseButton { get; set; }
Public Property ExpandCollapseButton As ExpandCollapseButtonStyleEnum
The default value is ExpandCollapseButtonStyleEnum.Conditional.
Defines the expand/collapse button style.
This method can only be used for items in the item area.
return; } LoadAssembly(asm); } private void ListInfo(ItemCollectionClass itemCollection, Assembly a) { ItemClass item = itemCollection.Add("Custom Attributes"); item.TagObjects = a.GetCustomAttributes(true); item.ExpandCollapseButton = item.TagObjects.Length > 0 ? ExpandCollapseButtonStyleEnum.Show : ExpandCollapseButtonStyleEnum.Hide; item = itemCollection.Add("Exported Types"); item.TagObjects = a.GetExportedTypes(); item.ExpandCollapseButton = item.TagObjects.Length > 0 ? ExpandCollapseButtonStyleEnum.Show : ExpandCollapseButtonStyleEnum.Hide; item = itemCollection.Add("Files"); item.TagObjects = a.GetFiles();
LoadAssembly(asm) End Sub Private Sub ListInfo(ByVal itemCollection As ItemCollectionClass, ByVal a As Assembly) Dim item As ItemClass = itemCollection.Add("Custom Attributes") item.TagObjects = a.GetCustomAttributes(True) If item.TagObjects.Length > 0 Then item.ExpandCollapseButton = ExpandCollapseButtonStyleEnum.Show Else item.ExpandCollapseButton = ExpandCollapseButtonStyleEnum.Hide End If item = itemCollection.Add("Exported Types") item.TagObjects = a.GetExportedTypes() If item.TagObjects.Length > 0 Then
See Also ItemClass Class | Classes | SftTree/NET 2.0