Retrieves or sets a value that indicates whether the item should appear in
strikeout.
Type | Description | |||
Item as HITEM | A long expression that indicates the item's handle. | |||
Boolean | A boolean expression that indicates whether the item should appear in strikeout. |
To change the strike out attribute for a cell you can call CellStrikeOut property.
The following sample applies a strikeout font attribute for the selected item in the first group:
Private Sub ExplorerTree1_SelectionChanged(ByVal Group As EXPLORERTREELibCtl.IGroup) If (Group.Index = 0) Then With Group.Items If Not hOldItem = 0 Then .ItemStrikeOut(hOldItem) = False End If hOldItem = .SelectedItem() .ItemStrikeOut(hOldItem) = True End With End If End Sub