csharp
public sealed class DragSessionA drag that started inside the application and has not been let go yet.
Remarks
⚠ One per document, not one per pointer. A second finger arriving in the middle of a drag is a gesture the recogniser is already reading as a pinch, and two simultaneous drags with two payloads is a shape no application in this tree wants and every part of which would have to be threaded through the target's events. BeginDrag replaces an unfinished one rather than stacking it.
Fields and properties (7)
public UiElement SourceThe element the drag started on.
public DataObject DataWhat is being dragged.
public DropEffect AllowedEverything the source is willing to have happen.
public UiElement? TargetThe drop target the pointer is over, if any.
public DropEffect EffectWhat that target last said it would do.
public float XWhere the drag is, in surface coordinates.
public float YThe other half of X.
Used by (5)
- HierarchyHelloUi
- DropMarkupTestsVixen.Ui.Controls.Tests
- InAppDragTestsVixen.Ui.Tests
- KeyboardDragTestsVixen.Ui.Tests
- UiDocumentVixen.Ui