-
Notifications
You must be signed in to change notification settings - Fork 525
/
Copy pathControlAnnotationSublayerVisibility.xaml
41 lines (41 loc) · 1.86 KB
/
ControlAnnotationSublayerVisibility.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
<UserControl x:Class="ArcGIS.WinUI.Samples.ControlAnnotationSublayerVisibility.ControlAnnotationSublayerVisibility"
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}">
<Grid>
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<CheckBox x:Name="OpenCheckBox"
Grid.Row="0"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="OpenCheckBoxChanged"
IsChecked="True"
IsEnabled="False"
Unchecked="OpenCheckBoxChanged">
<TextBlock x:Name="OpenLabel" Text="Open" />
</CheckBox>
<CheckBox x:Name="ClosedCheckBox"
Grid.Row="1"
HorizontalAlignment="Left"
VerticalAlignment="Center"
Checked="ClosedCheckBoxChanged"
IsChecked="True"
IsEnabled="False"
Unchecked="ClosedCheckBoxChanged">
<TextBlock x:Name="ClosedLabel" Text="Closed" />
</CheckBox>
<TextBlock x:Name="ScaleLabel"
Grid.Row="2"
HorizontalAlignment="Center"
Text="Current map scale: 1:" />
</Grid>
</Border>
</Grid>
</UserControl>