Version

RecordPresenter Class

Base class used to represent a Record in a XamDataGrid, XamDataCarousel or XamDataPresenter.
Syntax
'Declaration
 
Public MustInherit Class RecordPresenter 
   Inherits System.Windows.Controls.Control
   Implements Infragistics.Windows.Selection.ISelectableElement 
Remarks

One of these elements is created to represent a corresponding Record in the UI. There are corresponding derived classes to represent each of the Record derived classes - DataRecord, ExpandableFieldRecord and GroupByRecord.

In addition to the standard Template property there are 2 other properties of type System.Windows.Controls.ControlTemplate, TemplateGridView and TemplateCardView that can be used to define different visual trees based on the XamDataPresenter.View's ViewBase.CellPresentation. These visual trees should include System.Windows.FrameworkElement derived classes for the following 3 logical areas:

Note: These elements are normally virtualized by the view panels, System.Windows.Controls.Panel derived classes that implement the IViewPanel interface). That means that there should only be enough of these elements created to represent the records currently in view plus some additional number that the panel might cache for scrolling performance reasons.

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