Skip to main content
A newer version of this page is available. .

TcxLockablePersistent Class

The base class for all classes that implement persistent property sets with support for owner notification optimization.

Declaration

TcxLockablePersistent = class(
    TcxOwnedInterfacedPersistent
)

Remarks

This class expands the functionality provided by its ancestors with the capability to “lock” (that is, postpone sending) notifications to the affected persistent object (that is, the option set’s owner) about the changes made to the stored settings.

The TcxLockablePersistent class descendant provides the following members that allow you to:

  • Manage a persistent property set at runtime (Create and Destroy);

  • Improve performance by preventing the persistent property set’s owner from redundant updates (BeginUpdate, EndUpdate, and CancelUpdate);

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

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

See Also