Class BooleanFormat
Defines how boolean values are formatted and displayed.
Implements
Namespace: FastReport.Format
Assembly: FastReport.Base.dll
Syntax
public class BooleanFormat : FormatBase, IFRSerializable
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()