Class BooleanFormat
Namespace: FastReport.Olap.Format
Assembly: FastCube.Core.dll
Defines how boolean values are formatted and displayed.
public class BooleanFormat : FormatBase
Inheritance
object ← MarshalByRefObject ← Component ← FormatBase ← BooleanFormat
Inherited Members
FormatBase.Name, FormatBase.Clone(), FormatBase.FormatValue(object), FormatBase.Load(XmlItem), FormatBase.Save(XmlItem)
Constructors
BooleanFormat()
Initializes a new instance of the BooleanFormat class with default settings.
public BooleanFormat()
Properties
FalseText
Gets or sets a string that will be displayed if value is false.
public string FalseText { get; set; }
Property Value
TrueText
Gets or sets a string that will be displayed if value is true.
public string TrueText { get; set; }
Property Value
Methods
Clone()
Creates exact copy of this format.
public override FormatBase Clone()
Returns
The copy of this format.
Equals(object)
Determines whether the specified object is equal to the current object.
public override bool Equals(object obj)
Parameters
obj
object
The object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.
FormatValue(object)
Formats the specified value.
public override string FormatValue(object value)
Parameters
value
object
The value to format.
Returns
The string that represents the formatted value.
GetHashCode()
Serves as the default hash function.
public override int GetHashCode()
Returns
A hash code for the current object.
Load(XmlItem)
Loads format from XML
public override void Load(XmlItem item)
Parameters
item
XmlItem
Save(XmlItem)
Saves format to XML
public override void Save(XmlItem item)
Parameters
item
XmlItem