private void Canvas_MouseUp(object sender, MouseButtonEventArgs e) { _selectCard?.UnSelectCard(); _selectCard = null; }