[]
        
(Showing Draft Content)

C1.WinUI.Grid.GridColumn.SetCellValue

SetCellValue Method

SetCellValue(GridCellType, GridRow, object)

Sets the value corresponding to the cell in the intersection of the specified row and this column.

Declaration
public virtual void SetCellValue(GridCellType cellType, GridRow row, object value)
Public Overridable Sub SetCellValue(cellType As GridCellType, row As GridRow, value As Object)
Parameters
Type Name Description
GridCellType cellType

The type of cell.

GridRow row

The row that determines the cell.

object value

The value to be set.

SetCellValue(object, object)

Sets the specified value to dataItem property related to this column.

Declaration
public void SetCellValue(object dataItem, object value)
Public Sub SetCellValue(dataItem As Object, value As Object)
Parameters
Type Name Description
object dataItem

The data item which stores the value.

object value

The value to be set in the data item.