Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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