Back to Devexpress

TcxLockablePersistent.Assign(TPersistent) Method

vcl-dxcoreclasses-dot-tcxlockablepersistent-dot-assign-x28-system-dot-classes-dot-tpersistent-x29.md

latest1.5 KB
Original Source

TcxLockablePersistent.Assign(TPersistent) Method

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

Declaration

delphi
procedure Assign(Source: TPersistent); override;

Parameters

NameTypeDescription
SourceTPersistent

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

TcxLockablePersistent Class

TcxLockablePersistent Members

dxCoreClasses Unit