-
Notifications
You must be signed in to change notification settings - Fork 521
/
ConvexHull.xaml
25 lines (25 loc) · 1.16 KB
/
ConvexHull.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
<UserControl x:Class="ArcGIS.WinUI.Samples.ConvexHull.ConvexHull"
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:MapView x:Name="MyMapView" />
<Border Style="{StaticResource BorderStyle}">
<StackPanel>
<TextBlock FontWeight="SemiBold"
Text="Tap on the map in at least three places, then click 'Create convex hull'."
TextWrapping="Wrap" />
<Button x:Name="ConvexHullButton"
Margin="0,5,0,0"
HorizontalAlignment="Stretch"
Click="ConvexHullButton_Click"
Content="Create convex hull" />
<Button x:Name="ResetButton"
Margin="0,5,0,0"
HorizontalAlignment="Stretch"
Click="ResetButton_Click"
Content="Reset" />
</StackPanel>
</Border>
</Grid>
</UserControl>