forked from Esri/arcgis-maps-sdk-dotnet-samples
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathStatisticalQuery.xaml
60 lines (59 loc) · 2.3 KB
/
StatisticalQuery.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
55
56
57
58
59
60
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage xmlns="http://xamarin.com/schemas/2014/forms"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Xamarin.Forms;assembly=Esri.ArcGISRuntime.Xamarin.Forms"
xmlns:mapping="clr-namespace:Esri.ArcGISRuntime.Mapping;assembly=Esri.ArcGISRuntime"
x:Class="ArcGISRuntime.Samples.StatisticalQuery.StatisticalQuery">
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition />
</Grid.RowDefinitions>
<Grid>
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition/>
<RowDefinition/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition/>
<ColumnDefinition Width="3*"/>
</Grid.ColumnDefinitions>
<Switch x:Name="OnlyInExtentSwitch"
Grid.Row="0" Grid.Column="0"
HorizontalOptions="End"/>
<Label Grid.Row="0" Grid.Column="1"
Margin="10,0"
VerticalOptions="Center"
Text="Cities in current extent"/>
<Switch x:Name="OnlyBigCitiesSwitch"
Grid.Row="1" Grid.Column="0"
HorizontalOptions="End"/>
<Label Grid.Row="1" Grid.Column="1"
Margin="10,0"
VerticalOptions="Center"
Text="Cities larger than 5M"/>
<Button x:Name="GetStatsButton"
Grid.Row="2" Grid.Column="0" Grid.ColumnSpan="2"
Margin="5,0"
Text="Get Statistics"
Clicked="OnExecuteStatisticsQueryClicked"/>
</Grid>
<esriUI:MapView x:Name="MyMapView"
Grid.Row="1"/>
<Grid x:Name="ResultsGrid"
Grid.Row="1"
BackgroundColor="Gainsboro"
IsVisible="False">
<Grid.RowDefinitions>
<RowDefinition Height="auto"/>
<RowDefinition Height="50"/>
</Grid.RowDefinitions>
<ListView x:Name="StatResultsList"/>
<Button Text="Dismiss"
Grid.Row="1"
Margin="5"
Clicked="HideResults"/>
</Grid>
</Grid>
</ContentPage>