1 //----------------------------------------------------------------
2 // <copyright company="Microsoft Corporation">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 //----------------------------------------------------------------
7 namespace System.Activities.Presentation
9 using System.Activities.Presentation.Model;
10 using System.Activities.Presentation.View;
11 using System.Collections.Generic;
15 /// An extention interface for ICompositeView to better surpport
16 /// multiple drag/drop.
18 public interface IMultipleDragEnabledCompositeView : ICompositeView
21 /// This method will be used when item order is needed
23 /// <param name="selectedItems">Selected items to sort.</param>
24 /// <returns>Sorted items</returns>
25 List<ModelItem> SortSelectedItems(List<ModelItem> selectedItems);
28 /// After drag/drop, the source container will be notified which
29 /// items are moved out.
30 /// After implement this interface, ICompositeView.OnItemMoved will
31 /// not be called even in single element drag/drop.
33 /// <param name="movedItems">moved items</param>
34 void OnItemsMoved(List<ModelItem> movedItems);