Skip to main content

TcxLockablePersistent.Assign(TPersistent) Method

Applies compatible settings from the specified source to the current property set.

Declaration

procedure Assign(Source: TPersistent); override;

Parameters

Name Type Description
Source TPersistent

A TcxLockablePersistent descendant instance.

Remarks

Call the Assign procedure to update the parent object‘s settings with the corresponding setting values from another TcxLockablePersistent descendant instance. The Assign procedure copies only those settings from Source that the current component has.

The Assign procedure encloses all changes it applies to the parent object between BeginUpdate and EndUpdate procedure calls to avoid excessive redraw operations and improve performance.

Note

TcxLockablePersistent class descendants override the Assign procedure to copy all class-specific settings.

See Also