mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
MapItemsControl SelectionMode
This commit is contained in:
parent
c4c5d2d1df
commit
5a738f7a71
7 changed files with 15 additions and 32 deletions
|
|
@ -39,8 +39,8 @@ namespace MapControl
|
|||
|
||||
protected override void OnPointerPressed(PointerRoutedEventArgs e)
|
||||
{
|
||||
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?.OnItemClicked(
|
||||
this, e.KeyModifiers.HasFlag(VirtualKeyModifiers.Control), e.KeyModifiers.HasFlag(VirtualKeyModifiers.Shift));
|
||||
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?
|
||||
.OnItemClicked(this, e.KeyModifiers.HasFlag(VirtualKeyModifiers.Control));
|
||||
|
||||
e.Handled = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue