ConfigureCellImage

Top  Previous  Next

Specifies the image of a cell in the grid.

[Visual Basic .NET]

Public Function ConfigureCellImage(ByVal RowIndex As Integer,

                                                    ByVal ColumnIndex As Integer,

                                                    ByVal CellImage As Image) As Boolean

[C#]

public bool ConfigureCellImage(int RowIndex,

                                             int ColumnIndex,

                                             Image CellImage);

Parameters

RowIndex

Specifies the index (0-based) of the row in which the cell resides.

ColumnIndex

Specifies the index (0-based) of the column in which the cell resides.

CellImage

Specifies the image that is rendered onto the cell.

 

Return Value:

If the operation is successful, it returns TRUE; otherwise it returns FALSE. For example, one or two index values are out of bound.

 

Remarks

If a cell is configured with an image, no text is rendered for the cell even if it is configured with a text.