Back to Devexpress

TcxOwnedPersistent Class

vcl-dxcoreclasses.md

latest2.0 KB
Original Source

TcxOwnedPersistent Class

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

Declaration

delphi
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

TcxLockablePersistent

TcxOwnedInterfacedPersistent

TcxOwnedPersistent Members

dxCoreClasses Unit