[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.PageReportModel.Subtotal

Subtotal Class

Represents a Subtotals element defines a subtotal column or row to include in a matrix.

Namespace: GrapeCity.ActiveReports.PageReportModel
Assembly: MESCIUS.ActiveReports.Core.Rdl.dll
Syntax
public sealed class Subtotal : ReportComponentContainer, IReportComponentContainer, IRdlContainer, IReportComponent, IComponent, IDisposable, IValidateable
Remarks
<p>In the subtotal column or row, the full set of data for the entire group is aggregated in the matrix cell.</p>
<p>If a matrix cell contains an aggregate that uses an explicit grouping scope contained within the scope of the aggregate, 

that scope is automatically adjusted to equal the current scope. For example, if a textbox in a matrix cell contains the expression =Sum(Fields!Sales.Value/Sum(Fields!Sales.Value,"State") and this subtotal is applied to the Country grouping scope, the expression evaluates to =Sum(Fields!Sales.Value)/Sum(Fields!Sales.Value,"Country"), since the State grouping scope is contained within the country grouping scope.

Constructors

Name Description
Subtotal()

Initializes a new instance of the Subtotal class.

Properties

Name Description
DataElementName

Gets or sets a name of the top-level XML element that represents the subtotal.

DataElementOutput

Gets or sets a value indicating whether the item appears in a data rendering.

Name

Gets a name of a subtotal.

Position

Gets or sets a value indicating whether the subtotal column or row appears before (left or above) or after (right or below) the detail columns or rows.

Style

Gets or sets the style properties that override the style properties for all top-level report items contained in the subtotal column or row.

Methods

Name Description
Validate(ValidationContext)

Validates the current state of the Subtotal object.

Extension Methods