-
Notifications
You must be signed in to change notification settings - Fork 519
/
DisplayDimensions.xaml
42 lines (42 loc) · 2 KB
/
DisplayDimensions.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
<ContentPage x:Class="ArcGIS.Samples.DisplayDimensions.DisplayDimensions"
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"
xmlns:resources="clr-namespace:ArcGIS.Resources">
<Grid Style="{DynamicResource EsriSampleContainer}">
<esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5"
ColumnDefinitions="50,*"
ColumnSpacing="5"
RowDefinitions="auto,auto,auto"
RowSpacing="5">
<Label x:Name="PylonLabel"
Grid.Row="0"
Grid.ColumnSpan="2" />
<Switch x:Name="DimensionLayerSwitch"
Grid.Row="1"
Grid.Column="0"
IsEnabled="False"
IsToggled="True"
Toggled="DimensionLayerSwitchChanged" />
<Label x:Name="DimensionLayerLabel"
Grid.Row="1"
Grid.Column="1"
Text="Dimension Layer visibility"
VerticalTextAlignment="Center" />
<Switch x:Name="DefinitionExpressionSwitch"
Grid.Row="2"
Grid.Column="0"
IsEnabled="False"
IsToggled="False"
Toggled="DefinitionExpressionSwitchChanged" />
<Label x:Name="DefinitionExpressionLabel"
Grid.Row="2"
Grid.Column="1"
Text="Definition Expression: Dimensions >= 450m"
VerticalTextAlignment="Center" />
</Grid>
</Border>
</Grid>
</ContentPage>