DataPresenterBase Class

Base class for the XamDataGrid, XamDataCarousel and XamDataPresenter controls.

The look of these controls can be easily changed by setting the Theme property. In addition, several styling points are exposed to allow fine grained control of the UI. Styles keyed by these types can be placed anywhere in the resource chain or can be specified directly through the control's object model via the properties described in the following list.

In addition there are styling points that are specific to XamDataCarousel and XamDataPresenter in CarouselView. They are:

Note: An instance of a Infragistics.Windows.Editors.ValueEditor derived class is normally created and positioned inside a CellValuePresenter's visual tree within a System.Windows.Controls.ContentPresenter that has its name set to 'PART_EditorSite'. The type of editor to use and its style can be specified via the FieldSettings' FieldSettings.EditorType, FieldSettings.EditAsType, FieldSettings.EditorStyle and FieldSettings.EditorStyleSelector properties. These can also be specified on a cell by cell basis via the Cell's EditAsType, EditorType and EditorStyle properties. These cell specific properties would normally be set from inside an InitializeRecord event handler.

Refer to the Theory of Operation topic in the Developer's Guide for an explanation of how this control operates.


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