CustomUnboundDataEventArgs.Item Property
Returns an object that is a record in the grid’s underlying data source.
Namespace: DevExpress.Maui.DataGrid
Assembly: DevExpress.Maui.DataGrid.dll
NuGet Package: DevExpress.Maui.DataGrid
Declaration
public object Item { get; }
Property Value
Type | Description |
---|---|
Object | A data source record. |
Remarks
Use the Item
property to access required data values of the processed row when you handle the DataGridView.CustomUnboundData event to supply data for an unbound column. The SourceIndex property returns the processed row index in the data source.
If the DataGridView.CustomUnboundData event is raised when an unbound column’s value is modified in the grid (CustomUnboundDataEventArgs.IsSetData is true
), you can change any field’s value based on the modified value of the unbound column. To do this, specify properties of an object that the Item
property returns or call the DataGridView.GetCellValue method.