Table of Contents

Class BooleanFormat

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

Defines how boolean values are formatted and displayed.

public class BooleanFormat : FormatBase

Inheritance

objectMarshalByRefObjectComponentFormatBaseBooleanFormat

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

string

TrueText

Gets or sets a string that will be displayed if value is true.

public string TrueText { get; set; }

Property Value

string

Methods

Clone()

Creates exact copy of this format.

public override FormatBase Clone()

Returns

FormatBase

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

bool

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

string

The string that represents the formatted value.

GetHashCode()

Serves as the default hash function.

public override int GetHashCode()

Returns

int

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