예제 #1
0
 protected override bool OnDragStart(InputState state)
 {
     nativeDragPosition = state.Mouse.NativeState.Position;
     draggedItem        = items.FirstOrDefault(d => d.IsDraggable);
     return(draggedItem != null || base.OnDragStart(state));
 }
예제 #2
0
 protected override bool OnDragStart(DragStartEvent e)
 {
     nativeDragPosition = e.ScreenSpaceMousePosition;
     draggedItem        = items.FirstOrDefault(d => d.IsDraggable);
     return(draggedItem != null || base.OnDragStart(e));
 }