/// <inheritdoc /> public override DragDropEffect OnDragMove(ref Vector2 location, DragData data) { var result = base.OnDragMove(ref location, data); if (result != DragDropEffect.None) { return(result); } var dragEffect = _dragHandlers.Effect(); return(dragEffect ?? DragDropEffect.None); }
/// <inheritdoc /> public override DragDropEffect OnDragMove(ref Vector2 location, DragData data) { ClearDragEffects(); var result = base.OnDragMove(ref location, data); if (result != DragDropEffect.None) { return(result); } SetDragEffects(ref location); var dragEffect = DragHandlers.Effect(); if (dragEffect.HasValue) { return(dragEffect.Value); } return(DragDropEffect.None); }
/// <inheritdoc /> protected override DragDropEffect OnDragMoveHeader(DragData data) { return(_dragHandlers.Effect() ?? DragDropEffect.None); }