Table of Contents

Class PropertyOutputFormatterPercentage

Namespace
combit.Reporting.Dom
Assembly
combit.ListLabel31.CrossPlatform.dll

Percentage formatter extending the base numeric options.

public class PropertyOutputFormatterPercentage : PropertyOutputFormatterBase
Inheritance
PropertyOutputFormatterPercentage
Inherited Members

Constructors

PropertyOutputFormatterPercentage(PropertyOutputFormatterBase)

Initializes a new percentage formatter by copying settings from another formatter and coercing the formatter type to "PERCENTAGE".

public PropertyOutputFormatterPercentage(PropertyOutputFormatterBase item)

Parameters

item PropertyOutputFormatterBase

The source formatter to copy from. Its settings are applied, and the type is converted to percentage.

Properties

CountOfDecimals

Gets or sets the number of decimals.

public string CountOfDecimals { get; set; }

Property Value

string

DecimalSeparatorCharType

Gets or sets the decimal separator type.

public string DecimalSeparatorCharType { get; set; }

Property Value

string

EmptyStringIfZero

Gets or sets whether zero values are rendered as empty.

public string EmptyStringIfZero { get; set; }

Property Value

string

ForceSign

Gets or sets whether a sign is always shown.

public string ForceSign { get; set; }

Property Value

string

ForceZeroBeforeDecimalSeparator

Gets or sets whether a zero precedes the decimal separator.

public string ForceZeroBeforeDecimalSeparator { get; set; }

Property Value

string

MultiplyBy100

Gets or sets whether values are multiplied by 100.

public string MultiplyBy100 { get; set; }

Property Value

string

NegativeFormatType

Gets or sets the negative value format type.

public string NegativeFormatType { get; set; }

Property Value

string

RemoveTrailingZeroes

Gets or sets whether trailing zeroes are removed.

public string RemoveTrailingZeroes { get; set; }

Property Value

string

ThousandsSeparatorCharType

Gets or sets the thousands separator type.

public string ThousandsSeparatorCharType { get; set; }

Property Value

string

Methods

GetNumberFormatInfo()

Gets the number format information based on the specified properties.

protected virtual NumberFormatInfo GetNumberFormatInfo()

Returns

NumberFormatInfo

The number format information.