Class FormatBase
Namespace: FastReport.Olap.Format
Assembly: FastCube.Core.dll
Base class for all formats.
public abstract class FormatBase : Component
Inheritance
object ← MarshalByRefObject ← Component ← FormatBase
Derived
BooleanFormat, CurrencyFormat, CustomFormat, GeneralFormat, NumberFormat, PercentFormat
Remarks
The format is used to format expression value in a field object.
Properties
Name
Gets the short format name (e.g. without a "Format" suffix).
[Browsable(false)]
public string Name { get; }
Property Value
Methods
Clone()
Creates exact copy of this format.
public abstract FormatBase Clone()
Returns
The copy of this format.
FormatValue(object)
Formats the specified value.
public abstract string FormatValue(object value)
Parameters
value
object
The value to format.
Returns
The string that represents the formatted value.
Load(XmlItem)
Loads format from XML
public abstract void Load(XmlItem item)
Parameters
item
XmlItem
Save(XmlItem)
Saves format to XML
public abstract void Save(XmlItem item)
Parameters
item
XmlItem