Vixen
dd8b0a81
csharp
public enum DropEffect

What a drop would do with what is being dragged.

Read the guide page for this →

Remarks

A set on the way in and one member on the way out. A source offers what it is willing to have happen — a list row that can be reordered or copied offers Move | Copy — and each target answers with the single one it would perform, which is what a cursor shows and what the source reads afterwards to decide whether to delete the original. Flags rather than two enums because the two vocabularies are the same one.

⚠ None is a refusal and is the one value that means something is wrong. A target that leaves it there gets no DropEvent at all, which is how a drop target refuses one particular payload without giving up being a target.

Fields and properties (4)

  • None

    Nothing. The drop will not happen.

  • Copy

    The target takes a copy and the source keeps its own.

  • Move

    The target takes it and the source is expected to give it up.

  • Link

    The target takes a reference to something that stays where it is.

Used by (9)

  • HierarchyHelloUi
  • DragOverEventVixen.Ui
  • DragSessionVixen.Ui
  • DropEventVixen.Ui
  • DropMarkupTestsVixen.Ui.Controls.Tests
  • DropSheetVixen.Ui.Controls.Tests
  • InAppDragTestsVixen.Ui.Tests
  • KeyboardDragTestsVixen.Ui.Tests
  • UiDocumentVixen.Ui