mirror of
https://github.com/ClemensFischer/XAML-Map-Control.git
synced 2026-04-05 14:37:01 +00:00
MapItemsControl.SelectItemsInRange
This commit is contained in:
parent
e99b002615
commit
9da6a13950
4 changed files with 7 additions and 4 deletions
|
|
@ -79,7 +79,10 @@ namespace MapControl
|
|||
SelectItemsByPosition(rect.Contains);
|
||||
}
|
||||
|
||||
internal static void SetSelectedItemsRange(MapItem mapItem)
|
||||
/// <summary>
|
||||
/// Selects all items in a rectangular range between SelectedItem and the specified MapItem.
|
||||
/// </summary>
|
||||
internal static void SelectItemsInRange(MapItem mapItem)
|
||||
{
|
||||
if (ItemsControlFromItemContainer(mapItem) is MapItemsControl mapItemsControl &&
|
||||
mapItemsControl.SelectionMode != SelectionMode.Single)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue