Vcl.VirtualImageList.TVirtualImageList.AutoFill
Delphi
property AutoFill: Boolean read FAutoFill write SetAutoFill default False;
C++
__property bool AutoFill = {read=FAutoFill, write=SetAutoFill, default=0};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | published | Vcl.VirtualImageList.pas Vcl.VirtualImageList.hpp |
Vcl.VirtualImageList | TVirtualImageList |
Description
If you set the AutoFill property to True, the virtual Image List will be auto-populated with all the images in the collection.
Normally, you choose a subset of images in the collection to be contained in the image list. However, an image list can automatically be filled with all images in the collection. To do this, set AutoFill to True. The content of the image list will always reflect the entire content of the ImageCollection. Changing the collection that ImageCollection refers to will clear and repopulate the list with a new set of images.
For more information about adding disabled images to an Image List, please see Supporting high-DPI images with the Image Collection and Virtual ImageList components