Share via


MapControl.Region Property

Definition

Gets or sets the region (for example, the state or province) of an address.

public:
 property Platform::String ^ Region { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring Region();

void Region(winrt::hstring value);
public string Region { get; set; }
var string = mapControl.region;
mapControl.region = string;
Public Property Region As String

Property Value

String

Platform::String

winrt::hstring

The region (for example, the state or province) of an address.

Windows requirements

Device family
Windows 10, version 1803 (introduced in 10.0.17134.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v6.0)

Remarks

You can use this property to show contents in a map control based on the language of a specific region. The default value of this property is null. If you don’t set this property, the map control shows contents based on the language of the user’s region. The region is usually defined in the system settings of the user’s PC or device.

Applies to