CellPresenter Class

A control used to display a cell Cell.Value and/or FieldItem.Label. This control is automatically generated by the DataPresenterBase to display the value and/or label for a particular Field in a particular DataRecord.
Public Class CellPresenter 
   Inherits CellPresenterBase
public class CellPresenter : CellPresenterBase 

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'.


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