property Items.ItemBold(Item as HITEM) as Boolean

Retrieves or sets a value that indicates whether the item should appear in bold.

TypeDescription
Item as HITEM A long expression that indicates the handle of the item.
Boolean A boolean expression that indicates whether the item should appear in bold.
The ItemBold property is used to set or retrieve the bold attribute for a specific item in the ExplorerTree control. When set to True, the item will be displayed in bold font, making it visually distinct from other items. When set to False, the item will be displayed in normal font weight. To change the bold attribute for a cell you can call CellBold property.

The following VB sample bolds the selected item:

Dim hOldBold As HITEM

Private Sub ExplorerTree1_SelectionChanged(ByVal Group As EXPLORERTREELibCtl.IGroup)
    If (Group.Index = 0) Then
        With Group.Items
            If Not hOldItem = 0 Then
                .ItemBold(hOldItem) = False
            End If
            hOldItem = .SelectedItem()
            .ItemBold(hOldItem) = True
        End With
    End If
End Sub