Table of Contents

TCustomPropData Class

A TCustomPropData object holds information about a registered custom property.

Remarks

When the programmer registers a custom property using RegisterCustomProperty procedure, a TCustomPropData object is created to hold all information needed for the custom property to operate. This object is used internally by the TProperty object.

Syntax

Unit: PropertyList

TCustomPropData = class(TObject);

Fields

Name Description
Descendants Specify if the registered custom property will also appear in descending classes.
GetProc Specifies the procedure which will be used to emulate a getter for the property.
InstanceType Holds the class type for which the custom property will be created.
PropName Holds the name of the custom property
PropType Holds the type information about the custom property.
SetProc Specifies the procedure which will be used to emulate a setter for the property.

Constructors

Name Description
Create Instantiates the TCustomPropData passing all the needed data.

See also