ImageReferenceField property: Tile class

Description

Use the ImageReferenceField property to specify the image to be displayed when the tile's content type is specified as an image. Setting a value for this property is equivalent to invoking the setTileImageRef method. When the tile content is specified to be an image, either this property or the setTileImageRef method is required.

Because ImageReferenceField is actually a Field object, you must set its Value property as follows:

%This.ImageReferenceField.Value
= Image.IMAGE_ID;

This property is read/write.

Example

REM %This.setTileImageRef("MY_IMAGE"); /* Method equivalent */

%This.ImageReferenceField.Value = Image.MY_IMAGE;
%This.TileImageReferenceLabel("My tooltip");