[]
        
(Showing Draft Content)

C1.C1Preview.TableCell.Image

Image Property

Image

Gets or sets the image contained in the current cell.

Declaration
public Image Image { get; set; }
Remarks

Setting this property checks the current value of the RenderObject property. If it is a RenderImage, the value is assigned to that object's Image.

Otherwise, a new RenderImage initialized with value is created and assigned to RenderObject. Note that properties from the old RenderObject are copied to the newly created RenderImage using the AssignFrom(RenderObject) method. In particular, this copies the style from the old object to the new one.

Getting this property returns Image of RenderImage assigned to the RenderObject on the current cell, or null if the current value of RenderObject is not a RenderImage.

See Also