Skip to main content

TcxOwnedPersistent Class

The base class for all classes that implement persistent information containers that belong to (affect) a specific TPersistent class descendant instance.

Declaration

TcxOwnedPersistent = class(
    TPersistent
)

Remarks

This class implements the core functionality required by persistent property sets and other information containers that automatically notify and/or update an affected persistent object (that is, owner) according to the changes made to the stored values.

The TcxOwnedPersistent class descendant includes members that allow you to do the following:

  • Manage a persistent information container at runtime (Create and Destroy).

  • Obtain the path to the published persistent property set in the Object Inspector (GetNamePath).

  • Access the affected (owner) persistent object (GetOwner and Owner).

  • Copy compatible settings between TcxOwnedPersistent class descendant instances (Assign).

You do not need to create instances of the TcxOwnedPersistent class. Use its descendants instead.

Inheritance

TObject
TPersistent
TcxOwnedPersistent
See Also