combit List & Label 24 - .NET Online Web Help
PropertyCrosstabDefinition Class
Members  Example 


combit.ListLabel24.Dom Namespace : PropertyCrosstabDefinition Class

This class provides further properties for setting multiple values of the crosstab. With this class the complete content of the crosstab can be defined.

Object Model
PropertyCrosstabDefinition ClassPropertyCrosstabCells ClassPropertyCrosstabDimension ClassPropertyCrosstabColumnWrapping ClassPropertyFontExt ClassPropertyFrame ClassPropertyFillingExt ClassPropertyCrosstabDimension ClassPropertyCrosstabWrapping Class
Syntax
'Declaration
 
Public Class PropertyCrosstabDefinition 
   Inherits DomItem
public class PropertyCrosstabDefinition : DomItem 
public ref class PropertyCrosstabDefinition : public DomItem 
Example
// add a crosstab to the report container
SubItemCrosstab crosstab = new SubItemCrosstab(container.SubItems);

// define the data source for the crosstab
crosstab.SourceTablePath = "Customers.Orders(Customers2Orders).Order_Details(Orders2Order Details)";

// add a row and column grouping
crosstab.Definition.Rows.Groupings.Add("Customers.Country");
crosstab.Definition.Columns.Groupings.Add("Month$(Orders.OrderDate)");
crosstab.Definition.Columns.Groupings.Add("Year$(Orders.OrderDate)");

// change the syle for the group labels
crosstab.Definition.Columns.GroupLabel[0].Font.Bold = "True";
Inheritance Hierarchy

System.Object
   combit.ListLabel24.Dom.DomItem
      combit.ListLabel24.Dom.PropertyCrosstabDefinition

Requirements

Platforms: Windows Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

PropertyCrosstabDefinition Members
combit.ListLabel24.Dom Namespace