-
Notifications
You must be signed in to change notification settings - Fork 521
/
Copy pathLocalServerGenerateElevationProfile.xaml
67 lines (67 loc) · 3.11 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
<UserControl x:Class="ArcGIS.WPF.Samples.LocalServerGenerateElevationProfile.LocalServerGenerateElevationProfile"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
<Grid>
<esri:SceneView x:Name="MySceneView" />
<Border x:Name="MyButtonPanel"
Width="250"
HorizontalAlignment="Left"
Style="{StaticResource BorderStyle}"
Visibility="Collapsed">
<StackPanel>
<Button x:Name="MyGenerateElevationProfileButton"
Margin="5"
Click="GenerateElevationProfileButton_Click"
Content="Generate Elevation Profile"
IsEnabled="False" />
<Button x:Name="MyDrawPolylineButton"
Margin="5"
Click="DrawPolylineButton_Click"
Content="Draw Polyline"
IsEnabled="False" />
<Button x:Name="MyClearResultsButton"
Margin="5"
Click="ClearResultsButton_Click"
Content="Clear Results"
IsEnabled="False" />
<ProgressBar x:Name="MyProgressBar"
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"
Text="{Binding ElementName=MyProgressBar, Path=Value, StringFormat={}{0:0}%}"
Visibility="Collapsed" />
<Button x:Name="MyCancelJobButton"
Margin="5"
Click="CancelJobButton_Click"
Content="Cancel"
Visibility="Collapsed" />
<Button x:Name="MySaveButton"
Margin="5"
Click="SaveButton_Click"
Content="Save"
Visibility="Collapsed" />
</StackPanel>
</Border>
<Border Width="250"
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="WrapWithOverflow" />
</StackPanel>
</Border>
</Grid>
</UserControl>