XRCrossTabCell Class
A Cross Tab cell.
Namespace: DevExpress.XtraReports.UI.CrossTab
Assembly: DevExpress.XtraReports.v24.1.dll
NuGet Package: DevExpress.Reporting.Core
Declaration
[DefaultBindableProperty("Text")]
public class XRCrossTabCell :
XRControl,
ICrossTabCell,
ICrossTabLayoutCellInfo
Remarks
The XRCrossTabCell class presents a cell in the Cross Tab layout. The Cells collection stores all Cross Tab cells.
You should not create Cross Tab cells explicitly. At design time, they are created after you drop data fields on cross-tab areas or once you finish the Cross-Tab Report Wizard.
At runtime, cells are generated after you specify field collections (RowFields, ColumnFields, and DataFields) and call the GenerateLayout method.
Cross Tab cells have different kinds and purposes. For instance, cells marked with a database icon are bound to data fields. The corresponding rows/columns are printed in the document as many times as there are field values in the data source. The top left corner displays headers for row data fields. Cells in the last row/column display grand total values, and so on.
You can use HTML-like markup in a cell’s Text and Format String properties to customize cell text. Set the cell’s AllowMarkupText property to True to enable markup support in this cell. See the AllowMarkupText property description for the list of supported tags.
Tip
See the XRCrossTab class description for more information.