property PropertiesList.NameItemsCollection as String

Retrieves or sets a list of property's names separated by semicolon (;), that are used by properties browser when it requires a name for an item into a collection.

TypeDescription
String A string expression that indicates a list of property's names separated by semicolon (;), that are used by properties browser when it requires a name for an item into a collection.

By default, the NameItemsCollection is "Name;Caption;Item". Change the NameItemsCollection is your collection has different item's names. During loading the control uses the NameItemsCollection property to determine the name of each element into collection, if it is a collection of objects. If the ItemCollection property is True use the Object property to find the owner collection. For instance, if the collection contains only strings, the items added to browser's list will be numerated. Instead if the collection contains another objects, it uses the NameItemsCollection property to determine the caption that will be displayed on the name column. Use the IndexItemsCollection to specify the base index of the items in a object of collection type.