Table of Contents

Class BaseField

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

Base class for field.

public class BaseField : Component, IBaseDataSetOwner

Inheritance

objectMarshalByRefObjectComponentBaseField

Derived

DataSourceField, SplitField

Implements

IBaseDataSetOwner

Constructors

BaseField()

Creates a new default instance.

public BaseField()

Fields

dataSet

Data set of the field

protected IBaseDataSet dataSet

Field Value

IBaseDataSet

Properties

CaptionSource

Gets or sets caption source.

public string CaptionSource { get; set; }

Property Value

string

CustomCaption

Gets or sets custom caption.

public bool CustomCaption { get; set; }

Property Value

bool

DataField

Gets the FastReport.Olap.Cube.DataField

[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public DataField DataField { get; }

Property Value

DataField

DataSet

Gets or sets the dataset

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

Property Value

IBaseDataSet

FieldName

Gets field name.

[Browsable(false)]
public string FieldName { get; }

Property Value

string

FieldType

Gets or sets field type.

public AttributeType FieldType { get; set; }

Property Value

AttributeType

OrderSource

Gets or sets order source.

public string OrderSource { get; set; }

Property Value

string

Owner

Gets or sets the owner.

[Browsable(false)]
public object Owner { get; set; }

Property Value

object

SplitProperty

Gets the FastReport.Olap.Cube.SplitProperty

[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public SplitProperty SplitProperty { get; }

Property Value

SplitProperty

Visible

Gets or sets visibility.

public bool Visible { get; set; }

Property Value

bool

Methods

Check(StringBuilder, bool, string)

Checks fields.

public bool Check(StringBuilder msg, bool skipFieldsWithErrors, string prefix = "")

Parameters

msg StringBuilder

skipFieldsWithErrors bool

prefix string

Returns

bool

Dispose(bool)

Releases the unmanaged resources used by the System.ComponentModel.Component and optionally releases the managed resources.

protected override void Dispose(bool disposing)

Parameters

disposing bool

true to release both managed and unmanaged resources; false to release only unmanaged resources.

GetDisplayText()

Returns display text.

public string GetDisplayText()

Returns

string

NotifyPropertyChanged(string)

Notifies property changed event.

protected void NotifyPropertyChanged(string propertyName)

Parameters

propertyName string

TestData(StringBuilder, List<IBaseDataSet>)

Tests the data from the dataset.

public bool TestData(StringBuilder msg, List<IBaseDataSet> dataList)

Parameters

msg StringBuilder

dataList List<IBaseDataSet>

Returns

bool

PropertyChanged

Event on a property changed.

public event PropertyChangedEventHandler PropertyChanged

Event Type

PropertyChangedEventHandler