//Drag starting when mouse left button is clicked internal void DragStart_MouseLeftButtonDown(object sender, MouseButtonEventArgs e) { Pin pin = (Pin)sender; pinDragInProgress = pin.CaptureMouse(); pin.DragStart(); }