EditGridCellData Class

Contains information about a data cell in edit mode.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v21.2.Core.dll

Declaration

public class EditGridCellData :
    GridCellData,
    IDataErrorInfo

Remarks

An EditGridCellData object contains information about a data cell in edit mode and serves as a data context (binding source) for the following styles: TableView.AutoFilterRowCellStyle, ColumnBase.CellStyle, DataViewBase.CellStyle, ColumnBase.NewItemRowCellStyle and TableView.NewItemRowCellStyle.

Use the following binding paths to access cell values, columns, and ViewModel properties:

  • Value - access the current cell value;
  • Column - access the current column;
  • RowData.Row.[YourPropertyName] - access a property of an object from the ItemsSource collection;
  • Data.[FieldName] - access column values in Server Mode, access unbound column values;
  • View.DataContext.[YourPropertyName] - access a property in a grid’s ViewModel.
See Also