Back to Devexpress

TcxLockableComponent.Assign(TPersistent) Method

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

latest1.6 KB
Original Source

TcxLockableComponent.Assign(TPersistent) Method

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

Declaration

delphi
procedure Assign(Source: TPersistent); override;

Parameters

NameTypeDescription
SourceTPersistent

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

TdxChartCustomSeries.AssignFrom

TcxLockableComponent Class

TcxLockableComponent Members

dxCoreClasses Unit