TCustomImageList.AssignTo procedure
Assigns properties in an image list to another instance of the class.
Declaration
procedure AssignTo(Dest: TPersistent); overrideArguments
Dest | Image list to receive the values for the class instance. |
Description
AssignTo is an overridden method which allows assigning properties
in the image list to another instance of the class. AssignTo re-implements
the method defined in
TPersistent to include the properties
available in TCustomImageList.
Dest is the persistent object where properties values from the current class instance are stored.
AssignTo checks the Dest argument to ensure that its is a
TCustomImageList descendant. When it is derived from
TCustomImageList, its Assign method is used to store the values in
the current object instance. If it is not a TCustomImageList descendant, the
inherited AssignTo method is called using Dest as an argument.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
