property PropertiesList.ForeColorCategories as Color

Specifies the category items foreground color.

TypeDescription
Color A color expression that indicates the category items foreground color..

Use the ForeColorCategories and BackColorCategories properties to customize the color for category items. The ForeColorCategories property has effect only if the ShowCategories property is True. Use the ForeColor property to define the control's foreground color.

The following sample displays the control's categories:

Private Sub Form_Load()
    With PropertiesList1
        .HasLines = False
        .BackColorCategories = vbBlue
        .ForeColorCategories = vbWhite
        .ShowCategories = True
        .ShowPropertyPages = False
        .Select PropertiesList1.Object
    End With
End Sub