Vcl.ImgList.TCustomImageList.AssignTo
Delphi
procedure AssignTo(Dest: TPersistent); override;
C++
virtual void __fastcall AssignTo(System::Classes::TPersistent* Dest);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.ImgList.pas Vcl.ImgList.hpp |
Vcl.ImgList | TCustomImageList |
Description
Copies the image list's properties to another image list.
Applications do not call the protected AssignTo method. Instead, call the public Assign method of the destination image list. AssignTo is called when the image list is passed as the Source parameter of another object's Assign method and that Assign method can't copy information to the image list. The object whose Assign method was called is passed as the Dest parameter. AssignTo gives the image list an opportunity to copy properties to objects that were not created with the image list in mind.