forked from Esri/arcgis-maps-sdk-dotnet-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFindAddress.xaml
23 lines (23 loc) · 1.05 KB
/
FindAddress.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<UserControl
x:Class="ArcGISRuntime.UWP.Samples.FindAddress.FindAddress"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esriUI="using:Esri.ArcGISRuntime.UI.Controls">
<Grid>
<esriUI:MapView x:Name="MyMapView" />
<Border Style="{StaticResource BorderStyle}">
<StackPanel>
<TextBlock Text="Enter an address and tap 🔎 to search."
IsColorFontEnabled="False"
TextAlignment="Center" FontWeight="SemiBold" />
<AutoSuggestBox x:Name="AutoSuggestBox"
QueryIcon="Find"
HorizontalAlignment="Stretch"
Margin="0,5,0,0"
IsEnabled="False"
ItemsSource="{x:Bind _addresses}"
QuerySubmitted="Search_Submitted" />
</StackPanel>
</Border>
</Grid>
</UserControl>