In This Article

CurrencyComboBox

The CurrencyComboBox can be used to select a Currency from a list of currencies in the world. The currency code can then be used with LINQ and CountryCurrencyMapping to query the Country or countries that use that Currency.

Screenshot

Overview

The CurrencyComboBox extends the native ComboBox and displays a list of currencies as defined by the ISO. A currency is represented by an instance of Currency, and the list of currencies is defined by the Currency.Currencies collection.

List of Currencies

The list of currencies can be customized by updating the Currency.Currencies collection. Items can be added or removed as needed directly from this list. In addition, a custom list can be assigned to the ItemsSource property.

Selection

The selected Currency is accessible through the SelectedItem property. In addition, the unique ISO code associated with the currency can be accessed through the SelectedValue property.

Country/Currency Mapping

See the CountryComboBox topic for more information on the CountryCurrencyMapping class.