/// <summary> /// Occurs when the SnapTargetUpdate event occurs /// in the ISnapTarget dependency property. /// </summary> /// <param name="source"></param> /// <param name="e"></param> private void snapTargetUpdate(ISnapTarget source, SnapTargetUpdateEventArgs e) { if (e.IsMoveUpdate == MoveUpdate.MoveDelta) { this.MoveTo(new Point(this.Left, this.Top) + e.MoveDelta); } else { this.CoerceLater(); } }
private void snapTargetUpdate(ISnapTarget source, SnapTargetUpdateEventArgs e) { if (e.isMoveUpdate) { MoveTo(new Point(Left, Top) + e.moveDelta); } else { CoerceLater(); } }
public void NotifySnapTargetUpdate(SnapTargetUpdateEventArgs e) { throw new NotImplementedException(); }