[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Data.Field

Field Class

Field

Inheritance
Field
Namespace: GrapeCity.ActiveReports.Data
Assembly: MESCIUS.ActiveReports.dll
Syntax
public class Field : IPersistControl, IComponent, IDisposable

Constructors

Name Description
Field()

Constructor

Properties

Name Description
DefaultValue

Type associated withthe field; make it Enum

FieldType

Type associated withthe field; make it Enum

Formula

Field Value, used for unbound fields, this can be a formula or a static value Formaula can be combination of any number of other bound or unbound fields. eg.

  1. Field3.Formula = field1 + field2; (where field1 = Field1.Name and field2 = Field2.Name)
  2. field1.Formula = ""Hello : " + CustomerID";
  3. field1.Formula = "2 + 4 / 6"

Value of Field is based on FieldType which is used to evaluate as the type and the result is set to Field.Value Order of Evaluation: 1. Field.Formula, 2. If Field.Formula is null, Field.DefaultValue is used. 3. If Field.DefaultValue is null, Field.Value is used, which may or may not be null. Field.Value can also be set at run time.

Name

Field Name

Tag

Field Tag

Value

Value of field

Methods

Name Description
Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

Dispose(bool)

Releases unmanaged and - optionally - managed resources.

ReadXml(XmlNode)

Reads the control from specified XML node.

ToString()

ToString

WriteXml(XmlElement)

Writes the control as XML to specified XML node.

Events

Name Description
Disposed

Represents the method that handles the Disposed event of a component.

Extension Methods