Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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