The xamDataGrid™ control uses the Grid View and arranges data in columns and rows. Records are used to represent each data item and Fields are used to describe the attributes/properties that make up each record. It can automatically detect each type of record in your data source and generate specific FieldLayouts for each type. This allows it to support both conventional data sources like DataSets and DataViews as well as more free form data sources such as XML.
In addition to the core functionality inherited from the DataPresenterBase class it exposes a ViewSettings property which exposes additional options specify to a grid view, e.g. GridViewSettings.Orientation.
The xamDataGrid™ control is comprised of various elements. The following illustration depicts the relationship between the elements, so that you can gain a better understanding of the overall composition of xamDataGrid.
1 If labels are in a separate area (i.e. there is a HeaderPresenter) then you cannot have a CellPresenter. Instead, the CellValuePresenter is placed directly into the DataRecordCellArea. The CellPresenter is used only when labels and cells are together based on the FieldLayoutSettings.LabelLocation property.