Class
CurrencyFormatStringInfo

Contains configuration for currency format strings, including decimal precision, currency symbol, and format pattern variations.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.Formatting.FormatStrings.Infos

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

cs-api-definition
public class CurrencyFormatStringInfo : ICategorizedFormatStringInfo

Inheritance: objectCurrencyFormatStringInfo

Implements: ICategorizedFormatStringInfo

Constructors

CurrencyFormatStringInfo(int, CurrencyInfo, IEnumerable<string>)

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

Declaration

cs-api-definition
public CurrencyFormatStringInfo(int decimalPlaces, CurrencyInfo currencyInfo, IEnumerable<string> formatStrings)

Parameters

decimalPlaces

int

The decimal places.

currencyInfo

CurrencyInfo

The currency info.

formatStrings

IEnumerable<string>

The format strings.

Properties

CurrencyInfo

Currency information including symbol and culture for this 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.

FormatStrings

Collection of format string patterns for different numeric scenarios (positive, negative, zero).

Declaration

cs-api-definition
public IList<string> FormatStrings { get; }

Property Value

IList<string>

The format strings.