mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2025-12-06 07:12:04 +01:00
MapItem OnMouseLeftButtonDown/OnPointerPressed
This commit is contained in:
parent
404ddbb0f7
commit
dae7893642
|
|
@ -17,8 +17,6 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?
|
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?
|
||||||
.OnItemClicked(this, e.KeyModifiers.HasFlag(KeyModifiers.Control));
|
.OnItemClicked(this, e.KeyModifiers.HasFlag(KeyModifiers.Control));
|
||||||
|
|
||||||
e.Handled = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnPointerReleased(PointerReleasedEventArgs e)
|
protected override void OnPointerReleased(PointerReleasedEventArgs e)
|
||||||
|
|
|
||||||
|
|
@ -26,8 +26,6 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?
|
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?
|
||||||
.OnItemClicked(this, Keyboard.Modifiers.HasFlag(ModifierKeys.Control));
|
.OnItemClicked(this, Keyboard.Modifiers.HasFlag(ModifierKeys.Control));
|
||||||
|
|
||||||
e.Handled = true;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,8 +41,6 @@ namespace MapControl
|
||||||
{
|
{
|
||||||
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?
|
(ItemsControl.ItemsControlFromItemContainer(this) as MapItemsControl)?
|
||||||
.OnItemClicked(this, e.KeyModifiers.HasFlag(VirtualKeyModifiers.Control));
|
.OnItemClicked(this, e.KeyModifiers.HasFlag(VirtualKeyModifiers.Control));
|
||||||
|
|
||||||
e.Handled = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
protected override void OnApplyTemplate()
|
protected override void OnApplyTemplate()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue