MapItemsControl SelectionChanged handling in sample applications

This commit is contained in:
ClemensFischer 2024-05-31 10:40:29 +02:00
parent f78e7e73c4
commit 70bc9b89ac
7 changed files with 25 additions and 3 deletions

View file

@ -137,7 +137,8 @@
<map:MapItemsControl ItemContainerStyle="{StaticResource PushpinItemStyle}"
ItemsSource="{Binding Pushpins}"
SelectedItem="{Binding SelectedPushpin}"
SelectionMode="Multiple"/>
SelectionMode="Multiple"
SelectionChanged="MapItemsControlSelectionChanged"/>
<map:Pushpin AutoCollapse="True" Location="65,-18" Content="Iceland"/>
<map:Pushpin AutoCollapse="True" Location="71,25" Content="Norway"/>