Class BooleanFormat
Defines how boolean values are formatted and displayed.
Inheritance
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
BooleanFormat
Inherited Members
Namespace: FastReport.Olap.Format
Assembly: FastReport.Olap.dll
Syntax
public class BooleanFormat : FormatBase, IComponent, IDisposable
Constructors
BooleanFormat()
Initializes a new instance of the BooleanFormat class with default settings.
Declaration
public BooleanFormat()
Properties
FalseText
Gets or sets a string that will be displayed if value is false.
Declaration
public string FalseText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
TrueText
Gets or sets a string that will be displayed if value is true.
Declaration
public string TrueText { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
Clone()
Creates exact copy of this format.
Declaration
public override FormatBase Clone()
Returns
Type | Description |
---|---|
FormatBase | The copy of this format. |
Overrides
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type | Name | Description |
---|---|---|
System.Object | obj |
Returns
Type | Description |
---|---|
System.Boolean |
Overrides
System.Object.Equals(System.Object)
FormatValue(Object)
Formats the specified value.
Declaration
public override string FormatValue(object value)
Parameters
Type | Name | Description |
---|---|---|
System.Object | value | The value to format. |
Returns
Type | Description |
---|---|
System.String | The string that represents the formatted value. |
Overrides
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 |
Overrides
System.Object.GetHashCode()
Load(XmlItem)
Declaration
public override void Load(XmlItem item)
Parameters
Type | Name | Description |
---|---|---|
XmlItem | item |
Overrides
Save(XmlItem)
Declaration
public override void Save(XmlItem item)
Parameters
Type | Name | Description |
---|---|---|
XmlItem | item |