[]
        
(Showing Draft Content)

C1.WPF.Report.CalculatedField

CalculatedField Class

Represents a calculated data field associated with a FlexReport's data source. Usually values of such fields are calculated based on values of other fields in the data source.

Inheritance
OwnedObject
NamedObject
CalculatedField
Namespace: C1.WPF.Report
Assembly: C1.WPF.Report.dll
Syntax
public class CalculatedField : NamedObject

Constructors

Name Description
CalculatedField()

Initializes a new instance of the CalculatedField class.

CalculatedField(string, Type, string)

Initializes a new instance of the CalculatedField class.

Properties

Name Description
DataSource

Gets the DataSource object containing this object.

Expression

Gets or sets the expression used to calcualte the field's value.

Owner

Gets the CalculatedFieldCollection collection containing this object.

ParentReport

Gets the FlexReport object containing this object.

Type

Gets or sets the data type of the current field.

Methods

Name Description
AssignFrom(object)

Copies properties from another CalculatedField object.

CreateSame()

Creates a new instance of the same class as this one.

SetName(string)

Sets the name of the current object.