In This Article

Country Class

Specifies the various countries and associated data.

public class Country
Inheritance:
object object

Constructors

Country(string, string, string?)

Specifies the various countries and associated data.

public Country(string name, string alpha2Code, string? alpha3Code = null)
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

The two-letter Country code.

public string Alpha2Code { get; }

Property Value

string

Alpha3Code

The three-letter Country code.

public string? Alpha3Code { get; }

Property Value

string

Countries

The global collection of Country objects used by CountryComboBox.

public static DeferrableObservableCollection<Country> Countries { get; }

Property Value

DeferrableObservableCollection<Country>

Name

The name of the Country.

public string Name { get; set; }

Property Value

string

Inherited Members

Extension Methods