- Timestamp:
- 05/07/10 04:45:45 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Core.Views/3.3/ItemListView.cs
r3588 r3694 247 247 Type type = e.Data.GetData("Type") as Type; 248 248 if (!Content.IsReadOnly && !ReadOnly && (type != null) && (typeof(T).IsAssignableFrom(type))) { 249 if ((e.KeyState & 8) == 8) e.Effect = DragDropEffects.Link; // CTRLkey249 if ((e.KeyState & 32) == 32) e.Effect = DragDropEffects.Link; // ALT key 250 250 else if ((e.KeyState & 4) == 4) e.Effect = DragDropEffects.Move; // SHIFT key 251 251 else if ((e.AllowedEffect & DragDropEffects.Copy) == DragDropEffects.Copy) e.Effect = DragDropEffects.Copy;
Note: See TracChangeset
for help on using the changeset viewer.