Table of Contents

Class BaseDataField

Namespace: FastReport.Olap.Cube
Assembly: FastCube.Core.dll

Base class for data field.

public class BaseDataField : IBaseDataSetOwner

Inheritance

objectBaseDataField

Derived

DataField, IdDataField

Implements

IBaseDataSetOwner

Constructors

BaseDataField(BaseField)

Crates a new instance with owner.

public BaseDataField(BaseField owner)

Parameters

owner BaseField

Fields

calculateAfterAll

Indicates that need calcualte after all.

protected bool calculateAfterAll

Field Value

bool

caseSensitive

Indicates case sensitivity for sort and compare.

protected CaseSensitivity caseSensitive

Field Value

CaseSensitivity

convert

Convert value to new type.

protected bool convert

Field Value

bool

cubeFieldCaption

Field caption in the cube.

protected string cubeFieldCaption

Field Value

string

cubeFieldName

Field name in the cube.

protected string cubeFieldName

Field Value

string

cubeFieldType

Field type in the cube.

protected DataType cubeFieldType

Field Value

DataType

dataFieldIndex

Index of field in the DataSet.

protected int dataFieldIndex

Field Value

int

dataFieldName

Name of field in the DataSet.

protected string dataFieldName

Field Value

string

nullStr

Display value for null.

protected string nullStr

Field Value

string

Properties

DataFieldIndex

Gets Index of Field in DataSet

[Browsable(false)]
public int DataFieldIndex { get; }

Property Value

int

DataSet

Gets DataSet value.

[Browsable(false)]
public IBaseDataSet DataSet { get; set; }

Property Value

IBaseDataSet

Remarks

Setter only for interface compatibility, no effect.

Initialized

Indicates that field initialized

[Browsable(false)]
public bool Initialized { get; }

Property Value

bool

Methods

Assign(BaseDataField)

Assign data value from other data field.

public void Assign(BaseDataField source)

Parameters

source BaseDataField

Dispose()

Disposes the field.

public virtual void Dispose()

FieldExists()

Returns that field is exists.

public bool FieldExists()

Returns

bool

Init()

Initiaizes the field.

public bool Init()

Returns

bool

NotifyPropertyChanged(string)

Notifies property changed event.

protected void NotifyPropertyChanged(string propertyName)

Parameters

propertyName string

PropertyChanged

Event on a property changed.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler