Table of Contents

TCompInspPropertyList Class

Internal property list used by the component inspector for a single inspected component instance.

Remarks

TCompInspPropertyList extends TPropertyList to apply inspector-specific filtering (separating properties from events via Mode), sorting, and property creation via TCompInspProperty. One instance is maintained per inspected component when multi-select is active.

Syntax

Unit: ComponentInspector

TCompInspPropertyList = class(TPropertyList);

Constructors

Name Description
CreateWithOwner Creates a TCompInspPropertyList linked to the specified parent property and owner list.

Methods

Name Description
Compare Compares two properties for sorting, delegating to the owning inspector's OnCompare event if assigned.
CreateProperty Creates and returns a TCompInspProperty for the given property info and data.
Filter Returns True if property P should be shown, filtering by Mode and the inspector's OnFilter event.

Properties

Name Description
CompInspList Gets the TCompInspList that owns this property list.
Mode Gets or sets whether this list shows properties or event handlers.