| Infragistics.Windows.DataPresenter Namespace : CellPresenter Class (Infragistics.Windows.DataPresenter) |
A control used to display a cell Cell.Value and/or Field.Label. This control is automatically generated by the Infragistics.Windows.DataPresenter.DataPresenterBase to display the value and/or label for a particular Field in a particular DataRecord.
For a list of all members of this type, see CellPresenter members.
![]() ![]() ![]() ![]() ![]() ![]()
|
[Visual Basic]
Public Class CellPresenter
Inherits Control
Implements IElement [C#]
public class CellPresenter : Control, IElement The element is used to contain a CellValuePresenter and a corresponding LabelPresenter and provide a styling point for adding chrome around both elements (refer to the Working with xamDataGrid, xamDataCarousel and xamDataPresenter Styling Points topic in the Developer's Guide). It positions its contained CellValuePresenter and LabelPresenter relative to one another based on the FieldSettings's FieldSettings.CellContentAlignment setting.
Note: This element is only used when the FieldLayout's FieldLayout.LabelLocationResolved property returns 'InCells'.
CellPresenter Members | Infragistics.Windows.DataPresenter Namespace | CellContentAlignment Property | LabelLocation Property | LabelLocationResolved Property | CellValuePresenter | LabelPresenter