ClassAccountingFormatStringInfo
Contains configuration for accounting format strings, including decimal precision and currency symbol.
Definition
Namespace:Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.Infos
Assembly:Telerik.Windows.Documents.Spreadsheet.dll
Syntax:
public class AccountingFormatStringInfo : ICategorizedFormatStringInfo
Inheritance: objectAccountingFormatStringInfo
Implements:
Constructors
AccountingFormatStringInfo(int, CurrencyInfo, string)
Initializes a new instance of the AccountingFormatStringInfo class with specified decimal precision, currency, and format pattern.
Declaration
public AccountingFormatStringInfo(int decimalPlaces, CurrencyInfo currencyInfo, string formatString)
Parameters
decimalPlaces
The decimal places.
currencyInfo
The currency info.
formatString
The format string.
Properties
CurrencyInfo
Currency information including symbol and culture for this accounting format.
Declaration
public CurrencyInfo CurrencyInfo { get; }
Property Value
The currency info.
DecimalPlaces
Number of decimal places to display in the formatted value.
Declaration
public int DecimalPlaces { get; }
Property Value
The decimal places.
FormatString
Full format string pattern used to format accounting values.
Declaration
public string FormatString { get; }
Property Value
The format string.