static private StartDrag ( int draggedInstanceID, List |
||
draggedInstanceID | int | |
selectedInstanceIDs | List |
|
Résultat | void |
public override void StartDrag(TreeViewItem draggedItem, List <int> draggedItemIDs) { if (!SavedSearchFilters.IsSavedFilter(draggedItem.id) || (draggedItem.id != SavedSearchFilters.GetRootInstanceID())) { ProjectWindowUtil.StartDrag(draggedItem.id, draggedItemIDs); } }
public override void StartDrag(TreeViewItem draggedItem, List <int> draggedItemIDs) { if (SavedSearchFilters.IsSavedFilter(draggedItem.id)) { // Root Filters Item is not allowed to be dragged if (draggedItem.id == SavedSearchFilters.GetRootInstanceID()) { return; } } ProjectWindowUtil.StartDrag(draggedItem.id, draggedItemIDs); }