Back to Devexpress

RowData Class

wpf-devexpress-dot-xpf-dot-grid-075a594c.md

latest3.7 KB
Original Source

RowData Class

Contains information about a data row.

Namespace : DevExpress.Xpf.Grid

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

NuGet Package : DevExpress.Wpf.Grid.Core

Declaration

csharp
public class RowData :
    ColumnsRowDataBase,
    ISupportVisibleIndex
vb
Public Class RowData
    Inherits ColumnsRowDataBase
    Implements ISupportVisibleIndex

The following members return RowData objects:

Show 11 links

Remarks

A RowData object contains information about a data row and serves as a data context (binding source) for the following style and templates: TableView.RowStyle, TableView.DataRowTemplate and TableView.PrintRowTemplate.

Row elements contain RowData objects in their DataContext.

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

  • Row.[YourPropertyName] - access a property of an object in the ItemsSource collection;
  • DataContext.[FieldName] - access a column value;
  • View.DataContext.[YourPropertyName] - access a property in a grid’s ViewModel.

View Example: Build Binding Paths in WPF Data Grid Rows

Inheritance

Show 12 items

Object DispatcherObject DependencyObject DataObjectBase RowDataBase DevExpress.Xpf.Grid.ColumnsRowDataBase RowData CardData

GroupRowData

HeadersData

TreeListRowData

TreeViewRowData

See Also

RowData Members

Identify Rows and Cards

DevExpress.Xpf.Grid Namespace