Currency Class
Specifies a country's currency.
public class Currency
- Inheritance:
- object object
Constructors
Currency(string, string, string)
Initializes an instance of the Currency class.
public Currency(string code, string name, string symbol)
Parameter | Type | Description |
---|---|---|
code | string | The 3 letter Currency code. |
name | string | The plural name of the Currency (i.e. Dollars). |
symbol | string | The Currency symbol. |
Properties
Code
Gets the 3 letter Currency code.
Currencies
Gets the global collection of Currency objects used by CurrencyComboBox.
public static DeferrableObservableCollection<Currency> Currencies { get; }
Property Value
- DeferrableObservableCollection<Currency>:
A collection of Currency objects.
Description
Gets the description of the currency, which is a concatenation of the other properties.
public string Description { get; }
Property Value
- string:
The description of the currency, which is a concatenation of the other properties.
Name
Gets or sets the name of the Currency (i.e. Dollar).
Symbol
Gets or sets the Currency symbol.