mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-20 22:05:07 +00:00
MapItem OnMouseLeftButtonDown/OnPointerPressed
This commit is contained in:
parent
404ddbb0f7
commit
dae7893642
3 changed files with 0 additions and 6 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue