Version

RecordManager Property (DataPresenterBase)

Returns a RecordManager that manages the collections of root DataRecords (read-only).
Syntax
'Declaration
 
Public ReadOnly Property RecordManager As RecordManager
public RecordManager RecordManager {get;}
Remarks

DataRecords are created to represent each item in the DataSource. The DataRecord exposes a read-only DataRecord.DataItem property that returns the associated item from the data source as well as a corresponding DataRecord.DataItemIndex property. These DataRecords are managed by the RecordManager and exposed via its RecordManager.Unsorted, RecordManager.Sorted and RecordManager.Groups collection properties.

The RecordManager is responsible for listening to events raised by the DataSource thru either the System.Collections.Specialized.INotifyCollectionChanged or the System.ComponentModel.IBindingList interfaces. Based on these notifcations it keeps its RecordManager.Sorted and RecordManager.Unsorted collections of DataRecords in sync and raises corresponding events on each thru their System.Collections.Specialized.INotifyCollectionChanged interface implemenations.

Refer to the Record Manager topic in the Developer's Guide.

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.

Requirements

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