Show / Hide Table of Contents

Class BooleanFormat

Defines how boolean values are formatted and displayed.

Inheritance
System.Object
FormatBase
BooleanFormat
Implements
IFRSerializable
Inherited Members
FormatBase.Name
FormatBase.Serialize(FRWriter)
FormatBase.Deserialize(FRReader)
System.Object.ToString()
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: FastReport.Format
Assembly: FastReport.OpenSource.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
FormatBase.Clone()

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
FormatBase.FormatValue(Object)

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
Overrides
System.Object.GetHashCode()

Implements

IFRSerializable
Back to top Generated by DocFX