combit List & Label 29 - .NET Hilfe
combit.Reporting.Dom Namespace / PropertyCrosstabDefinition Klasse
Member Beispiele


In diesem Thema
    PropertyCrosstabDefinition Klasse
    In diesem Thema
    Diese Klasse stellt weitere Eigenschaften zur Verfügung um diverse Einstellungen für die Kreuztabelle festzulegen. Über diese Klasse lässt sich der sämtliche Inhalt der Kreuztabelle definieren.
    Objektmodell
    PropertyCrosstabDefinition KlasseCollectionAdjacentDefinitions KlassePropertyCrosstabDefinitionBase KlassePropertyCrosstabCells KlassePropertyCrosstabDimension KlassePropertyCrosstabColumnWrapping KlassePropertyFontExt KlassePropertyFrame KlassePropertyFillingExt KlassePropertyCrosstabDimension KlassePropertyCrosstabWrapping Klasse
    Syntax
    'Deklaration
     
    
    Public Class PropertyCrosstabDefinition 
       Inherits PropertyCrosstabDefinitionBase
    public class PropertyCrosstabDefinition : PropertyCrosstabDefinitionBase 
    public ref class PropertyCrosstabDefinition : public PropertyCrosstabDefinitionBase 
    Beispiele
    // 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";
    Vererbungshierarchie

    System.Object
       combit.Reporting.Dom.DomItem
          combit.Reporting.Dom.PropertyCrosstabDefinitionBase
             combit.Reporting.Dom.PropertyCrosstabDefinition

    Anforderungen

    Plattformen: Windows 10 (Version 21H2 - 22H2), Windows 11 (21H2 - 23H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    Siehe auch