Skip to content

UIElement.BeginDrag method

Starts a drag session from this element without gesture detection; the outcome is reported through DragCompleted, and nothing happens while the element is not in a window.

public void BeginDrag(IDataObject data, DragDropEffects allowedEffects,
DragPreviewContent? preview = null)