Copies the selected items (to the system clipboard).
()
| 478 | /// Copies the selected items (to the system clipboard). |
| 479 | /// </summary> |
| 480 | public void Copy() |
| 481 | { |
| 482 | if (_selection.Count == 0) |
| 483 | return; |
| 484 | |
| 485 | var files = _selection.ConvertAll(x => x.Path).ToArray(); |
| 486 | Clipboard.Files = files; |
| 487 | UpdateContentItemCut(false); |
| 488 | } |
| 489 | |
| 490 | /// <summary> |
| 491 | /// Returns true if user can paste data to the view (copied any files before). |
no test coverage detected