Search Results for

    Show / Hide Table of Contents

    Class Total

    Represents a total that is used to calculate aggregates such as Sum, Min, Max, Avg, Count.

    Inheritance
    System.Object
    Base
    Total
    Implements
    IFRSerializable
    Inherited Members
    Base.Name
    Base.Flags
    Base.Parent
    Base.BaseName
    Base.ClassName
    Base.Report
    Base.Page
    Base.ChildObjects
    Base.AllObjects
    Base.ZOrder
    Base.IsAncestor
    Base.IsDesigning
    Base.IsPrinting
    Base.IsRunning
    Base.OriginalComponent
    Base.Disposed
    Base.SetProp(Base, Base)
    Base.FloatDiff(Single, Single)
    Base.DeserializeSubItems(FRReader)
    Base.ExtractDefaultMacros(String)
    Base.Dispose(Boolean)
    Base.Dispose()
    Base.SetFlags(Flags, Boolean)
    Base.SetReport(Report)
    Base.SetName(String)
    Base.SetParent(Base)
    Base.SetParentCore(Base)
    Base.FindObject(String)
    Base.CreateUniqueName()
    Base.Deserialize(FRReader)
    Base.BaseAssign(Base)
    Base.AssignAll(Base)
    Base.HasParent(Base)
    Base.HasFlag(Flags)
    Base.HasRestriction(Restrictions)
    Base.InvokeEvent(String, Object)
    Base.OnAfterLoad()
    Base.GetCustomScript()
    Base.ExtractMacros()
    Base.IsHaveToConvert(Object)
    Base.GetConvertedObjects()
    Base.ForEachAllConvectedObjects(Object)
    Namespace: FastReport.Data
    Assembly: FastReport.Base.dll
    Syntax
    public class Total : Base, IDisposable, IFRSerializable

    Constructors

    Total()

    Initializes a new instance of the Total class with default settings.

    Declaration
    public Total()

    Properties

    EvaluateCondition

    Gets or sets the condition which tells the total to evaluate.

    Declaration
    public string EvaluateCondition { get; set; }
    Property Value
    Type Description
    System.String

    Evaluator

    Gets or sets the evaluator databand.

    Declaration
    public DataBand Evaluator { get; set; }
    Property Value
    Type Description
    DataBand
    Remarks

    The total will be calculated for each row of this band.

    Expression

    Gets or sets the expression used to calculate the total.

    Declaration
    public string Expression { get; set; }
    Property Value
    Type Description
    System.String

    IncludeInvisibleRows

    Gets or sets a value that determines if invisible rows of the Evaluator should be included into the total's value.

    Declaration
    public bool IncludeInvisibleRows { get; set; }
    Property Value
    Type Description
    System.Boolean

    PrintOn

    Gets or sets the band to print the total on.

    Declaration
    public BandBase PrintOn { get; set; }
    Property Value
    Type Description
    BandBase
    Remarks

    The total will be resetted after the specified band has been printed.

    ResetAfterPrint

    Gets or sets a value that determines whether the total should be resetted after print.

    Declaration
    public bool ResetAfterPrint { get; set; }
    Property Value
    Type Description
    System.Boolean

    ResetOnReprint

    Gets or sets a value that determines whether the total should be resetted if printed on repeated band (i.e. band with "RepeatOnEveryPage" flag).

    Declaration
    public bool ResetOnReprint { get; set; }
    Property Value
    Type Description
    System.Boolean

    Resetter

    This property is kept for compatibility only.

    Declaration
    public BandBase Resetter { get; set; }
    Property Value
    Type Description
    BandBase

    Restrictions

    This property is not relevant to this class.

    Declaration
    public Restrictions Restrictions { get; set; }
    Property Value
    Type Description
    Restrictions

    TotalType

    Gets or sets the total type.

    Declaration
    public TotalType TotalType { get; set; }
    Property Value
    Type Description
    TotalType

    Value

    Gets the value of total.

    Declaration
    public object Value { get; }
    Property Value
    Type Description
    System.Object

    Methods

    Assign(Base)

    Declaration
    public override void Assign(Base source)
    Parameters
    Type Name Description
    Base source
    Overrides
    Base.Assign(Base)

    Clear()

    Declaration
    public override void Clear()
    Overrides
    Base.Clear()

    GetExpressions()

    Declaration
    public override string[] GetExpressions()
    Returns
    Type Description
    System.String[]
    Overrides
    Base.GetExpressions()

    Serialize(FRWriter)

    Declaration
    public override void Serialize(FRWriter writer)
    Parameters
    Type Name Description
    FRWriter writer
    Overrides
    Base.Serialize(FRWriter)

    Implements

    IFRSerializable
    Back to top © 1998-2025 Copyright Fast Reports Inc.