Ejemplo n.º 1
0
        /// <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);
        }
Ejemplo n.º 2
0
        /// <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);
        }
Ejemplo n.º 3
0
 /// <inheritdoc />
 protected override DragDropEffect OnDragMoveHeader(DragData data)
 {
     return(_dragHandlers.Effect() ?? DragDropEffect.None);
 }