Class
AccountingFormatStringInfo

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:

cs-api-definition
public class AccountingFormatStringInfo : ICategorizedFormatStringInfo

Inheritance: objectAccountingFormatStringInfo

Implements: ICategorizedFormatStringInfo

Constructors

AccountingFormatStringInfo(int, CurrencyInfo, string)

Initializes a new instance of the AccountingFormatStringInfo class with specified decimal precision, currency, and format pattern.

Declaration

cs-api-definition
public AccountingFormatStringInfo(int decimalPlaces, CurrencyInfo currencyInfo, string formatString)

Parameters

decimalPlaces

int

The decimal places.

currencyInfo

CurrencyInfo

The currency info.

formatString

string

The format string.

Properties

CurrencyInfo

Currency information including symbol and culture for this accounting format.

Declaration

cs-api-definition
public CurrencyInfo CurrencyInfo { get; }

Property Value

CurrencyInfo

The currency info.

DecimalPlaces

Number of decimal places to display in the formatted value.

Declaration

cs-api-definition
public int DecimalPlaces { get; }

Property Value

int

The decimal places.

FormatString

Full format string pattern used to format accounting values.

Declaration

cs-api-definition
public string FormatString { get; }

Property Value

string

The format string.