protected override void OnDragEnd(DragEndEvent e) { if (e.Button == MouseButton.Right) { return; } if (isDraggingBlueprint) { changeHandler?.EndChange(); isDraggingBlueprint = false; } if (DragBox.State == Visibility.Visible) { DragBox.Hide(); selectionHandler.UpdateVisibility(); } }
private void DragEnd() { if (View.Dispatcher.CheckAccess()) { switch (_thisViewPosition) { case ViewPosition.LetfEdge: View.SetWindowPosition(View.Top, View.WindowWidth - View.Width + viewGrid.Width + View.DragRect.Width); break; case ViewPosition.RightEdge: View.SetWindowPosition(View.Top, -viewGrid.Width - 10); break; } } else { DragEndEvent dragEnd = DragEnd; View.Dispatcher.Invoke(dragEnd); } }
protected override void OnDragEnd(DragEndEvent e) { if (e.Button == MouseButton.Right) { return; } if (isDraggingBlueprint) { // handle positional change etc. foreach (var obj in selectedHitObjects) { Beatmap.Update(obj); } changeHandler?.EndChange(); } if (DragBox.State == Visibility.Visible) { DragBox.Hide(); } }
private void endArrangement(RearrangeableListItem <TModel> item, DragEndEvent e) => currentlyDraggedItem = null;
public virtual void OnToolDragEnd(DragEndEvent e) { }
public override bool OnDragEnd(DragEndEvent e) { return(onDragEnd != null && onDragEnd(e)); }
protected override bool OnDragEnd(DragEndEvent e) => true;
protected override bool OnDragEnd(DragEndEvent e) { isDragging = false; return(base.OnDragEnd(e)); }
protected override bool OnDragEnd(DragEndEvent e) { placementControlPointIndex = null; return(true); }
protected override void OnDragEnd(DragEndEvent e) => CurrentlyDragging = false;
protected override void OnDragEnd(DragEndEvent e) { isDragging = false; base.OnDragEnd(e); }
protected override void OnDragEnd(DragEndEvent e) => EndArrangement?.Invoke(this, e);
protected override void OnDragEnd(DragEndEvent e) => DragEnded?.Invoke();
protected override void OnDragEnd(DragEndEvent e) { DragEndEvent(e); base.OnDragEnd(e); }
public virtual bool OnDragEnd(DragEndEvent e) { return(false); }
protected override void OnDragEnd(DragEndEvent e) { base.OnDragEnd(e); OnDragHandled?.Invoke(null); }
protected override bool OnDragEnd(DragEndEvent e) { this.FadeOut(250, Easing.OutQuint); DragEnd?.Invoke(); return(true); }
protected override void OnDragEnd(DragEndEvent e) { handleMouseInput(e.ScreenSpaceMousePosition); }
protected override void OnDragEnd(DragEndEvent e) => changeHandler?.EndChange();
protected override void OnDragEnd(DragEndEvent e) { PlaylistDragActive.Value = false; base.OnDragEnd(e); }
protected override bool OnDragEnd(DragEndEvent e) { return(true); }
protected override void OnDragEnd(DragEndEvent e) { placementControlPointIndex = null; }
protected override void OnDragEnd(DragEndEvent e) { base.OnDragEnd(e); lastDragEvent = null; }
protected override bool OnDragEnd(DragEndEvent e) { closeIfOutside(e); return(base.OnDragEnd(e)); }
public void NotifyDragEnd(DragEndEvent eventArgs) { OnDragEnd?.Invoke(this, eventArgs); }
protected override void OnDragEnd(DragEndEvent e) { dragAlert.Hide(); base.OnDragEnd(e); }
protected override void OnDragEnd(DragEndEvent e) { this.MoveTo(Vector2.Zero, 800, Easing.OutElastic); base.OnDragEnd(e); }
protected override void OnDragEnd(DragEndEvent e) { base.OnDragEnd(e); cumulativeRotation.Value = null; }
protected override bool OnDragEnd(DragEndEvent e) { this.MoveTo(Vector2.Zero, 800, Easing.OutElastic); return(base.OnDragEnd(e)); }
protected override void OnDragEnd(DragEndEvent e) { Flash(); Success(); base.OnDragEnd(e); }