Skip to main content

Create(TPersistent) Constructor

Creates a new TcxOwnedPersistent class descendant instance.

Declaration

constructor Create(AOwner: TPersistent); virtual;

Parameters

Name Type
AOwner TPersistent

Remarks

Call this constructor to create a new persistent property set or information container for a target (that is, affected or owner) object passed as the AOwner parameter. In most cases, the owner class constructors call the Create constructor internally to create all required persistent property sets.

All TcxOwnedPersistent class descendants that implement actual persistent property sets and information containers override the Create constructor to initialize all class-specific properties to their default values.

See Also