PropertyList Namespace
Classes
| Name | Description |
|---|---|
| EPropertyException | Exception class raised when internal errors occur while using the property list objects. |
| TCustomPropData | A TCustomPropData object holds information about a registered custom property. |
| TProperty | TProperty represents a property in an object instance. |
| TPropertyList | Holds a list of all properties of a given object instance. |
Types
| Name | Description |
|---|---|
| TCompareMethod | TCompareMethod is a regular function type used for property sorting operations. The function must compare the two provided properties and return the comparison result. |
| TGetPropertyValue | Event type used to implement a custom property. Handlers of this event should retrieve a value for the specified property. |
| TSetPropertyValue | Event type used to implement a custom property. Handlers of this event should set the value for the specified property. |
Constants
| Name | Description |
|---|---|
| tkChars | Set constant containing all types that are chars. |
| tkOrdinals | Set constant containing all types that are considered ordinals, which means they can be converted to/from an integer value. |
| tkStrings | Set constant containing all string types. |
Methods
| Name | Description |
|---|---|
| RegisterCustomProperty | Registers a custom (virtual) property for the specified class. |
| RegisteredProperty | Checks if a custom property was already registered for a specified class. |
| UnregisterCustomProperties | Unregisters all custom properties that has been previously registered with RegisterCustomProperty. |
| UnregisterCustomProperty | Unregisters a custom property previously registered with RegisterCustomProperty. If not property has been registered, nothing happens. |