Back to Devexpress

AddressBase.FormattedAddress Property

wpf-devexpress-dot-xpf-dot-map-dot-addressbase.md

latest2.7 KB
Original Source

AddressBase.FormattedAddress Property

Gets or sets the complete address.

Namespace : DevExpress.Xpf.Map

Assembly : DevExpress.Xpf.Map.v25.2.dll

NuGet Package : DevExpress.Wpf.Map

Declaration

csharp
public string FormattedAddress { get; set; }
vb
Public Property FormattedAddress As String

Property Value

TypeDescription
String

The complete address.

|

Remarks

This address may not include the country or region.

Example : 1 Microsoft Way, Redmond, WA 98052-8300

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the FormattedAddress property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

wpf-map-search-with-azure-map-search-service/CS/DXMapExample/MainWindow.xaml.cs#L31

csharp
resultList.Append(String.Format("Name: {0}\r\n", resultInfo.DisplayName));
resultList.Append(String.Format("Address: {0}\r\n", resultInfo.Address.FormattedAddress));
resultList.Append(String.Format("Geographic coordinates: {0}\r\n", resultInfo.Location));

wpf-map-search-with-azure-map-search-service/VB/DXMapExample/MainWindow.xaml.vb#L33

vb
resultList.Append(String.Format("Name: {0}" & Microsoft.VisualBasic.Constants.vbCrLf, resultInfo.DisplayName))
resultList.Append(String.Format("Address: {0}" & Microsoft.VisualBasic.Constants.vbCrLf, resultInfo.Address.FormattedAddress))
resultList.Append(String.Format("Geographic coordinates: {0}" & Microsoft.VisualBasic.Constants.vbCrLf, resultInfo.Location))

See Also

AddressBase Class

AddressBase Members

DevExpress.Xpf.Map Namespace