Skip to main content

TcxLockableComponent.Assign(TPersistent) Method

Applies compatible settings from the specified source component to the current component in a batch.

Declaration

procedure Assign(Source: TPersistent); override;

Parameters

Name Type Description
Source TPersistent

A TcxLockableComponent descendant instance.

Remarks

Call the Assign procedure to update the current component’s settings with the corresponding setting values from another TcxLockableComponent 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 current component between BeginUpdate and EndUpdate procedure calls to avoid excessive redraw operations and improve performance.

Note

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

See Also