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
itemPropertyOutputFormatterBaseThe 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
DecimalSeparatorCharType
Gets or sets the decimal separator type.
public string DecimalSeparatorCharType { get; set; }
Property Value
EmptyStringIfZero
Gets or sets whether zero values are rendered as empty.
public string EmptyStringIfZero { get; set; }
Property Value
ForceSign
Gets or sets whether a sign is always shown.
public string ForceSign { get; set; }
Property Value
ForceZeroBeforeDecimalSeparator
Gets or sets whether a zero precedes the decimal separator.
public string ForceZeroBeforeDecimalSeparator { get; set; }
Property Value
MultiplyBy100
Gets or sets whether values are multiplied by 100.
public string MultiplyBy100 { get; set; }
Property Value
NegativeFormatType
Gets or sets the negative value format type.
public string NegativeFormatType { get; set; }
Property Value
RemoveTrailingZeroes
Gets or sets whether trailing zeroes are removed.
public string RemoveTrailingZeroes { get; set; }
Property Value
ThousandsSeparatorCharType
Gets or sets the thousands separator type.
public string ThousandsSeparatorCharType { get; set; }
Property Value
Methods
GetNumberFormatInfo()
Gets the number format information based on the specified properties.
protected virtual NumberFormatInfo GetNumberFormatInfo()
Returns
- NumberFormatInfo
The number format information.