Country Class
Specifies the various countries and associated data.
public class Country
- Inheritance:
- object object
Constructors
Country(string, string)
Initializes an instance of the Country class.
public Country(string name, string alpha2Code)
Parameter | Type | Description |
---|---|---|
name | string | The name of the Country. |
alpha2Code | string | The two letter Country code. |
Country(string, string, string)
Initializes an instance of the Country class.
public Country(string name, string alpha2Code, string alpha3Code)
Parameter | Type | Description |
---|---|---|
name | string | The name of the Country. |
alpha2Code | string | The two-letter Country code. |
alpha3Code | string | The three-letter Country code. |
Properties
Alpha2Code
Gets the two-letter Country code.
Alpha3Code
Gets the three-letter Country code.
Countries
Gets the global collection of Country objects used by CountryComboBox.
public static DeferrableObservableCollection<Country> Countries { get; }
Property Value
- DeferrableObservableCollection<Country>:
A collection of Country objects.
Name
Gets or sets the name of the Country.