Skip to main content

CustomUnboundDataEventArgs.Value Property

Gets or sets a value of the unbound column’s cell.

Namespace: DevExpress.Maui.DataGrid

Assembly: DevExpress.Maui.DataGrid.dll

NuGet Package: DevExpress.Maui.DataGrid

Declaration

public object Value { get; set; }

Property Value

Type Description
Object

An object that specifies the cell value.

Remarks

If the IsGetData property is set to true (and consequently IsSetData is set to false), the DataGridView.CustomUnboundColumnData event is raised to supply data for the unbound column’s cell. Assign the required value (for example, it can be calculated based on values of other columns in the current row) to the Value property.

If the IsGetData property is set to false (and consequently IsSetData is set to true), the DataGridView.CustomUnboundData event is raised to save the unbound column’s cell value after a user changed it. The Value property returns the modified cell value.

You can identify the currently processed cell by the column (Column) and row (SourceIndex).

See Also