-
Notifications
You must be signed in to change notification settings - Fork 518
/
DistanceMeasurement.xaml
55 lines (55 loc) · 2.43 KB
/
DistanceMeasurement.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.DistanceMeasurement.DistanceMeasurement"
xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:esriUI="clr-namespace:Esri.ArcGISRuntime.Maui;assembly=Esri.ArcGISRuntime.Maui">
<Grid Style="{DynamicResource EsriSampleContainer}">
<esriUI:SceneView x:Name="MySceneView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5">
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<!-- Labels -->
<Label x:Name="HelpLabel"
Grid.Row="0"
Grid.Column="0"
Grid.ColumnSpan="2"
Text="Tap to update the measurement." />
<Label Grid.Row="1"
Grid.Column="0"
Text="Direct" />
<Label Grid.Row="2"
Grid.Column="0"
Text="Horizontal" />
<Label Grid.Row="3"
Grid.Column="0"
Text="Vertical" />
<!-- Controls -->
<Label x:Name="DirectMeasureLabel"
Grid.Row="1"
Grid.Column="1" />
<Label x:Name="HorizontalMeasureLabel"
Grid.Row="2"
Grid.Column="1" />
<Label x:Name="VerticalMeasureLabel"
Grid.Row="3"
Grid.Column="1" />
<Picker x:Name="UnitSystemCombo"
Grid.Row="4"
Grid.Column="0"
Grid.ColumnSpan="2"
Margin="0,5,0,5" />
</Grid>
</Border>
</Grid>
</ContentPage>