Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

C#
public object Item { get; }

#Property Value

Type Description
System.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.

See Also