Skip to main content

EditGridCellData Class

Contains information about a data cell in edit mode.

Namespace: DevExpress.Xpf.Grid

Assembly: DevExpress.Xpf.Grid.v24.1.Core.dll

NuGet Package: DevExpress.Wpf.Grid.Core


public class EditGridCellData :


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 or if you use the RealTimeSource, access unbound column values;
  • View.DataContext.[YourPropertyName] - access a property in a grid’s ViewModel.

View Example: Build Binding Paths in WPF Data Grid Cells

See Also