Class BaseField
Namespace: FastReport.Olap.Cube
Assembly: FastCube.Core.dll
Base class for field.
public class BaseField : Component, IBaseDataSetOwner
Inheritance
object ← MarshalByRefObject ← Component ← BaseField
Derived
Implements
Constructors
BaseField()
Creates a new default instance.
public BaseField()
Fields
dataSet
Data set of the field
protected IBaseDataSet dataSet
Field Value
Properties
CaptionSource
Gets or sets caption source.
public string CaptionSource { get; set; }
Property Value
CustomCaption
Gets or sets custom caption.
public bool CustomCaption { get; set; }
Property Value
DataField
Gets the FastReport.Olap.Cube.DataField
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public DataField DataField { get; }
Property Value
DataSet
Gets or sets the dataset
[Browsable(false)]
public virtual IBaseDataSet DataSet { get; set; }
Property Value
FieldName
Gets field name.
[Browsable(false)]
public string FieldName { get; }
Property Value
FieldType
Gets or sets field type.
public AttributeType FieldType { get; set; }
Property Value
OrderSource
Gets or sets order source.
public string OrderSource { get; set; }
Property Value
Owner
Gets or sets the owner.
[Browsable(false)]
public object Owner { get; set; }
Property Value
SplitProperty
Gets the FastReport.Olap.Cube.SplitProperty
[Browsable(true)]
[TypeConverter(typeof(ExpandableObjectConverter))]
public SplitProperty SplitProperty { get; }
Property Value
Visible
Gets or sets visibility.
public bool Visible { get; set; }
Property Value
Methods
Check(StringBuilder, bool, string)
Checks fields.
public bool Check(StringBuilder msg, bool skipFieldsWithErrors, string prefix = "")
Parameters
msg
StringBuilder
skipFieldsWithErrors
bool
prefix
string
Returns
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
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
PropertyChanged
Event on a property changed.
public event PropertyChangedEventHandler PropertyChanged