DataRecord Class

Used by a XamDataGrid, XamDataCarousel or XamDataPresenter to represent an item in the DataSource.
Public Class DataRecord 
   Inherits Record
   Implements Infragistics.Collections.ISparseArrayItem, Infragistics.Collections.ISparseArrayMultiItem, Infragistics.Windows.Selection.ISelectableItem 
public class DataRecord : Record, Infragistics.Collections.ISparseArrayItem, Infragistics.Collections.ISparseArrayMultiItem, Infragistics.Windows.Selection.ISelectableItem  

This object wraps an item from a DataSource. The underlying data item is exposed via the read-only DataItem property and its associated index in the DataSource is returned via the DataItemIndex property.

Note: This is not a UIElement but is a lightweight wrapper around the data item. It is represented in the UI via a corresponding DataRecordPresenter element.

Refer to the Records topic in the Developer's Guide for a explanation of the various record types.

Refer to the Theory of Operation topic in the Developer's Guide for an overall explanation of how everything works together.


Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also