Skip to main content
A newer version of this page is available. .

RowData.DataContext Property

Gets or sets the row’s data context.

Namespace: DevExpress.Xpf.Grid

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

Declaration

public object DataContext { get; set; }

Property Value

Type Description
Object

An object that represents the row’s data context.

Remarks

DataContext contains a custom dynamic object (implements the ICustomTypeDescriptor interface). This object allows you to access data source object properties and unbound columns, and is useful in the following scenarios:

  • You need to obtain unbound column values.
  • The GridControl functions in Instant Feedback mode, and grid’s rows contain thread-safe wrappers instead of the original data source objects.
See Also