forked from Esri/arcgis-maps-sdk-dotnet-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathFindPlace.xaml
54 lines (54 loc) · 2.72 KB
/
FindPlace.xaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
<UserControl
x:Class="ArcGISRuntime.UWP.Samples.FindPlace.FindPlace"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:esri="using:Esri.ArcGISRuntime.UI.Controls"
mc:Ignorable="d"
d:DesignHeight="300" d:DesignWidth="600">
<Grid>
<esri:MapView x:Name="MyMapView" />
<Border
Background="White" BorderBrush="Black" BorderThickness="1"
HorizontalAlignment="Right" VerticalAlignment="Top"
Margin="30" Padding="20" Width="375">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="2*" />
</Grid.ColumnDefinitions>
<TextBlock Text="Search"
Grid.Row="0" Grid.Column="0" />
<TextBlock Text="Location"
Grid.Row="1" Grid.Column="0" />
<AutoSuggestBox x:Name="MySearchBox" Text="Coffee"
Grid.Row="0" Grid.Column="1" Grid.ColumnSpan="2"
IsEnabled="False"
TextChanged="MySearchBox_TextChanged" />
<AutoSuggestBox x:Name="MyLocationBox" Text="Current Location"
Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
IsEnabled="False"
TextChanged="MyLocationBox_TextChanged" />
<Button x:Name="MySearchButton" Content="Search All"
Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2" HorizontalAlignment="Stretch"
IsEnabled="False"
Click="MySearchButton_Click" />
<Button x:Name="MySearchRestrictedButton" Content="Search in View"
Grid.Row="2" Grid.Column="2" HorizontalAlignment="Stretch"
IsEnabled="False"
Click="MySearchRestrictedButton_Click" />
<ProgressBar x:Name="MyProgressBar" IsIndeterminate="True"
Grid.Row="3" Grid.Column="0" Grid.ColumnSpan="3"
Visibility="Collapsed" />
</Grid>
</Border>
</Grid>
</UserControl>