-
Notifications
You must be signed in to change notification settings - Fork 524
/
Copy pathLocalServerGenerateElevationProfile.xaml
72 lines (72 loc) · 3.22 KB
/
LocalServerGenerateElevationProfile.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
61
62
63
64
65
66
67
68
69
70
71
72
<UserControl x:Class="ArcGIS.WinUI.Samples.LocalServerGenerateElevationProfile.LocalServerGenerateElevationProfile"
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:SceneView x:Name="MySceneView" />
<Border x:Name="MyButtonPanel"
Width="250"
HorizontalAlignment="Left"
Style="{StaticResource BorderStyle}"
Visibility="Collapsed">
<StackPanel>
<Button x:Name="MyGenerateElevationProfileButton"
Width="200"
Margin="5"
Click="GenerateElevationProfileButton_Click"
Content="Generate Elevation Profile"
IsEnabled="False" />
<Button x:Name="MyDrawPolylineButton"
Width="200"
Margin="5"
Click="DrawPolylineButton_Click"
Content="Draw Polyline"
IsEnabled="False" />
<Button x:Name="MyClearResultsButton"
Width="200"
Margin="5"
Click="ClearResultsButton_Click"
Content="Clear Results"
IsEnabled="False" />
<ProgressBar x:Name="MyProgressBar"
Width="200"
MinHeight="10"
Margin="5,10,5,0"
Maximum="100"
Minimum="0"
Visibility="Collapsed" />
<TextBlock x:Name="MyProgressBarLabel"
Margin="0,5,0,0"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Visibility="Collapsed" />
<Button x:Name="MyCancelJobButton"
Width="200"
Margin="5"
Click="CancelJobButton_Click"
Content="Cancel"
Visibility="Collapsed" />
<Button x:Name="MySaveButton"
Width="200"
Margin="5"
Click="SaveButton_Click"
Content="Save"
Visibility="Collapsed" />
</StackPanel>
</Border>
<Border Width="300"
HorizontalAlignment="Right"
Style="{StaticResource BorderStyle}">
<StackPanel>
<TextBlock x:Name="MyInstructionsTitleTextBlock"
FontSize="14"
FontWeight="SemiBold"
Text="Instructions:"
Visibility="Collapsed" />
<TextBlock x:Name="MyInstructionsContentTextBlock"
Text="Starting Local Server..."
TextWrapping="WrapWholeWords" />
</StackPanel>
</Border>
</Grid>
</UserControl>