property PropertiesList.ShowCategories as Boolean

Retrieves or sets a value whether the browser includes the object categories.

TypeDescription
Boolean A boolean expression indicating whether the browser includes the object categories.

The ExPropertiesList control has the ability to categorize the object properties. Use the ShowCategories to display the object categories. Use the BackColorCategories and ForeColorCategories properties to define the background/foreground colors for category items. The LinkCategories specifies whether the control links the categories. Use the CategoryName property to get the property's category name. The Category property checks whether an items is category item or a property item. Use the DefaultCategory property to specify the default category. The default category includes all properties that have no category associated.

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