示例#1
0
 /// <summary>
 /// Handle the MouseLeftButtonUp event for the UIElement to complete the drag operation
 /// </summary>
 private void TargetElement_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
 {
     _targetElement.ReleaseMouseCapture();
     _draggingActive = false;
     OnDragCompleted(e, false);
 }