-
Notifications
You must be signed in to change notification settings - Fork 520
/
MapImageLayerTables.xaml
27 lines (26 loc) · 1.28 KB
/
MapImageLayerTables.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
<?xml version="1.0" encoding="utf-8" ?>
<ContentPage x:Class="ArcGIS.Samples.MapImageLayerTables.MapImageLayerTables"
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">
<Grid Style="{DynamicResource EsriSampleContainer}">
<esriUI:MapView x:Name="MyMapView" Style="{DynamicResource EsriSampleGeoView}" />
<Border Style="{DynamicResource EsriSampleControlPanel}">
<Grid Padding="5"
RowDefinitions="auto,auto"
RowSpacing="5">
<Label Grid.Row="0" Text="Select a row to see the related feature." />
<ListView x:Name="CommentsListBox"
Grid.Row="1"
HeightRequest="100"
ItemSelected="CommentsListBox_SelectionChanged">
<ListView.ItemTemplate>
<DataTemplate>
<TextCell Text="{Binding Attributes[comments]}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
</Grid>
</Border>
</Grid>
</ContentPage>