New to Telerik Document ProcessingStart a free 30-day trial

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:

C#
public class CurrencyFormatStringInfo : ICategorizedFormatStringInfo

Inheritance: objectCurrencyFormatStringInfo

Implements: ICategorizedFormatStringInfo

Constructors

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

C#
public CurrencyFormatStringInfo(int decimalPlaces, CurrencyInfo currencyInfo, IEnumerable<string> formatStrings)
Parameters:decimalPlacesint

The decimal places.

currencyInfoCurrencyInfo

The currency info.

formatStringsIEnumerable<string>

The format strings.

Properties

Currency information including symbol and culture for this format.

C#
public CurrencyInfo CurrencyInfo { get; }
Property Value:

The currency info.

Number of decimal places to display in the formatted value.

C#
public int DecimalPlaces { get; }
Property Value:

The decimal places.

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

C#
public IList<string> FormatStrings { get; }
Property Value:

The format strings.