-
Notifications
You must be signed in to change notification settings - Fork 521
/
Copy pathListRelatedFeatures.xaml
35 lines (35 loc) · 1.65 KB
/
ListRelatedFeatures.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
<UserControl x:Class="ArcGIS.WPF.Samples.ListRelatedFeatures.ListRelatedFeatures"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:esri="http://schemas.esri.com/arcgis/runtime/2013">
<Grid>
<esri:MapView x:Name="MyMapView" />
<Border Style="{StaticResource BorderStyle}">
<StackPanel>
<TextBlock Margin="0,0,0,10"
FontWeight="SemiBold"
Text="Tap a park (green) to see related features."
TextAlignment="Center" />
<ProgressBar x:Name="LoadingProgress"
Height="15"
Margin="0,0,0,10"
IsIndeterminate="True"
Visibility="Visible" />
<ListView x:Name="MyResultsView"
MaxHeight="300"
ScrollViewer.HorizontalScrollBarVisibility="Disabled">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" TextWrapping="Wrap" />
</DataTemplate>
</ListView.ItemTemplate>
<ListView.ItemContainerStyle>
<Style TargetType="ListViewItem">
<Setter Property="Focusable" Value="false" />
</Style>
</ListView.ItemContainerStyle>
</ListView>
</StackPanel>
</Border>
</Grid>
</UserControl>