A part of the .NET Framework that provides a unified programming model for building line-of-business desktop applications on Windows.
When you add the image to the collection FileNames and bind the ListView's SelectedItem to File. Image will show a picture of the ListView being selected when you click on the option in the ListView.
Xaml:
<ListView Height="170"
Grid.Row="7" Margin="0,10,0,0"
d:ItemsSource="{d:SampleData ItemCount=5}"
ItemsSource="{Binding Building.FileNames}" ScrollViewer.CanContentScroll="True"
ScrollViewer.VerticalScrollBarVisibility="Visible"
SelectedItem="{Binding File}">
<ListView.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding FileName}" />
</DataTemplate>
</ListView.ItemTemplate>
</ListView>
<Image Grid.Column="1" Width="360" Height="360" Margin="10"
VerticalAlignment="Top" Source="{Binding File.FullPath}" />
Codebehind:
public File? File { get; set; }
The result:

If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our [documentation][5] to enable e-mail notifications if you want to receive the related email notification for this thread.
[5]: https://learn.microsoft.com/en-us/answers/articles/67444/email-notifications.html