-
Notifications
You must be signed in to change notification settings - Fork 523
/
Copy pathDisplayUtilityNetworkContainer.xaml
59 lines (59 loc) · 2.91 KB
/
DisplayUtilityNetworkContainer.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
<ContentPage
x:Class="ArcGIS.Samples.DisplayUtilityNetworkContainer.DisplayUtilityNetworkContainer"
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"
GeoViewTapped="MyMapView_GeoViewTapped"
Style="{DynamicResource EsriSampleGeoView}" />
<Border MinimumHeightRequest="200" Style="{DynamicResource EsriSampleControlPanel}">
<Grid>
<StackLayout Spacing="10">
<Label FontAttributes="Bold" Text="Select an element to view its container." />
<Label Text="Utility association types" />
<Grid ColumnSpacing="10">
<Grid.RowDefinitions>
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
<RowDefinition Height="auto" />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="25" />
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Label Grid.Row="0"
Grid.Column="1"
Text="Attachment" />
<Label Grid.Row="1"
Grid.Column="1"
Text="Connectivity" />
<Label Grid.Row="2"
Grid.Column="1"
Text="Containment" />
<Image x:Name="AttachmentImage"
Grid.Row="0"
Grid.Column="0" />
<Image x:Name="ConnectivityImage"
Grid.Row="1"
Grid.Column="0" />
<Image x:Name="ContainmentImage"
Grid.Row="2"
Grid.Column="0" />
</Grid>
<Button x:Name="CloseButton"
Margin="5"
Clicked="CloseButton_Clicked"
IsEnabled="False"
Text="Close container view" />
</StackLayout>
</Grid>
</Border>
<ActivityIndicator x:Name="LoadingIndicator"
HorizontalOptions="CenterAndExpand"
IsRunning="True"
IsVisible="True"
VerticalOptions="CenterAndExpand" />
</Grid>
</ContentPage>