[runtime] Fix corlib out of date error with disabled COM
[mono.git] / mcs / class / referencesource / System.Activities.Presentation / System.Activities.Presentation / System / Activities / Presentation / IMultipleDragEnabledCompositeView.cs
1 //----------------------------------------------------------------
2 // <copyright company="Microsoft Corporation">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 //----------------------------------------------------------------
6
7 namespace System.Activities.Presentation
8 {
9     using System.Activities.Presentation.Model;
10     using System.Activities.Presentation.View;
11     using System.Collections.Generic;
12     using System.Windows;
13
14     /// <summary>
15     /// An extention interface for ICompositeView to better surpport
16     /// multiple drag/drop.
17     /// </summary>
18     public interface IMultipleDragEnabledCompositeView : ICompositeView
19     {
20         /// <summary>
21         /// This method will be used when item order is needed
22         /// </summary>
23         /// <param name="selectedItems">Selected items to sort.</param>
24         /// <returns>Sorted items</returns>
25         List<ModelItem> SortSelectedItems(List<ModelItem> selectedItems);
26
27         /// <summary>
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.
32         /// </summary>
33         /// <param name="movedItems">moved items</param>
34         void OnItemsMoved(List<ModelItem> movedItems);
35     }
36 }