Class DataComponentBase
The base class for all data components such as data sources, columns.
Implements
Inherited Members
Namespace: FastReport.Data
Assembly: FastReport.Base.dll
Syntax
public class DataComponentBase : Base, IFRSerializable
Constructors
DataComponentBase()
Initializes a new instance of the DataComponentBase class with default settings.
Declaration
public DataComponentBase()
Properties
Alias
Gets or sets alias of this object.
Declaration
public string Alias { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
Alias is a human-friendly name of this object. It may contain any symbols (including spaces and national symbols).
Enabled
Gets or sets a value indicates that object is enabled and thus can be used in a report.
Declaration
public virtual bool Enabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
This property is used to hide an object from the Data Dictionary window. Hidden objects are still accessible in the "Data|Choose Data Source..." menu.
IsAliased
Gets a value indicates that this object has an alias.
Declaration
public bool IsAliased { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Reference
Gets or sets a reference to the data object.
Declaration
public object Reference { get; set; }
Property Value
Type | Description |
---|---|
System.Object |
Remarks
This property is used to support FastReport.Net infrastructure. Do not use it directly.
ReferenceName
Gets or sets a name of the data object.
Declaration
public string ReferenceName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This property is used to support FastReport.Net infrastructure. Do not use it directly.
Methods
Assign(Base)
Declaration
public override void Assign(Base source)
Parameters
Type | Name | Description |
---|---|---|
Base | source |
Overrides
InitializeComponent()
Initializes the object before running a report.
Declaration
public virtual void InitializeComponent()
Remarks
This method is used by the report engine, do not call it directly.
Serialize(FRWriter)
Declaration
public override void Serialize(FRWriter writer)
Parameters
Type | Name | Description |
---|---|---|
FRWriter | writer |
Overrides
SetName(String)
Declaration
public override void SetName(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value |