CodeCharge Studio All C#.NET VB.NET

Function Run-Time Property (.NET)

Applies to

ReportLabel Control

Syntax

C#.NET

public TotalFunction Function{get;set;}

VB.NET

Public Property Function() As TotalFunction

Description

Retrieves or sets the function to be used if the value of the report label is to be auto-calculated. The default value is "None".
Type Description
None  No function will be used.
Sum  The report label value will be calculated as the sum of previous row values.
Count  If the Source is empty the value will be calculated as the count of previous data rows. Otherwise the value will be calculated as the count of previous data rows with non-empty values.
Min  The value will be calculated as the minimum of previous row values.
Max  The value will be calculated as the maximum of previous row values.
Avg  The value will be calculated as the average of non-empty values from previous rows.

Examples

C#.NET

ReportLabel1.Function = TotalFunction.Sum;

VB.NET

ReportLabel1.Function = TotalFunction.Sum

See also

ResetAt Property,PercentOf Property


On-line, printable versions and updates